Sort Score
Result 10 results
Languages All
Labels All
Results 571 - 580 of 23,249 for

js

(0.09 sec)
  1. BackgroundFetchRegistration - Web APIs | MDN

    Learn about the BackgroundFetchRegistration interface, including its properties and methods, code examples, specifications, and browser compatibility.... js navigator.serviceWorker.ready...console returns "my-fetch" . js console.log(bgFetch.id); // "my-fetch"...

    developer.mozilla.org/en-US/docs/Web/API/Backgr...
  2. CredentialsContainer: get() method - Web APIs |...

    Learn about the CredentialsContainer.get() method, including its syntax, code examples, specifications, and browser compatibility.... Syntax js get() get(options) Parameters...request would look like this: js async function signIn() { const...

    developer.mozilla.org/en-US/docs/Web/API/Creden...
  3. Iterator - JavaScript | MDN

    An Iterator object is an object that conforms to the iterator protocol by providing a next() method that returns an iterator result object. All built-in iterators inherit from the Iterator class. The Iterator class provides a [Symbol.iterator]() method that returns the iterator object itself, making the iterator also iterable. It also provides some helper methods for working with iterators....tempted to do the following: js const nameToDeposit = new Map([...method of the iterator itself: js const totalDeposit = nameToDeposit...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  4. SyntaxError: Using //@ to indicate sourceURL pr...

    The JavaScript warning "Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead" occurs when there is a deprecated source map syntax in a JavaScript source.... js //@ sourceMappingURL=http://example...syntax Use the "#" sign instead. js //# sourceMappingURL=http://example...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  5. SyntaxError: "0"-prefixed octal literals are de...

    The JavaScript strict mode-only exception "0-prefixed octal literals are deprecated; use the "0o" prefix instead" occurs when deprecated octal literals (0 followed by digits) are used....Examples "0"-prefixed octal literals js "use strict"; 03; // SyntaxError:...followed by the letter "o" or "O": js 0o3; See also Lexical grammar...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  6. Notifications - Mozilla | MDN

    Notifications allow you to communicate information about your extension or its content using the underlying operating system's notification service....from notify-link-clicks-i18n: js const title = browser.i18n.g...function to handle the action: js browser.notifications.onClicked...

    developer.mozilla.org/en-US/docs/Mozilla/Add-on...
  7. Falsy - MDN Web Docs Glossary: Definitions of W...

    A falsy (sometimes written falsey) value is a value that is considered false when encountered in a Boolean context....and thus bypass the if block): js if (false) { // Not reachable...falsy, it returns that object: js console.log(false && "dog");...

    developer.mozilla.org/en-US/docs/Glossary/Falsy
  8. SyntaxError: invalid named capture reference in...

    The JavaScript exception "invalid named capture reference in regular expression" occurs when a regular expression pattern contains a named backreference that does not refer to a named capture group before it. The similar error message "invalid named reference in regular expression" is thrown when the sequence \k is encountered but is not followed by <.... Examples Invalid cases js /\k<x>/u; // Does not refer to...// Invalid syntax Valid cases js /(?<x>.+)\k<x>/u; // Refers to...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  9. AuthenticatorResponse - Web APIs | MDN

    Learn about the AuthenticatorResponse interface, including its properties and methods, code examples, specifications, and browser compatibility....Getting an AuthenticatorAsserti js const options = { challenge:...Getting an AuthenticatorAttesta js const publicKey = { challenge:...

    developer.mozilla.org/en-US/docs/Web/API/Authen...
  10. GPUCompilationInfo - Web APIs | MDN

    Learn about the GPUCompilationInfo interface, including its properties, code examples, specifications, and browser compatibility....declaration in our shader code: js const shaders = ` struct VertexOut...information about the resulting error: js async function init() { // ....

    developer.mozilla.org/en-US/docs/Web/API/GPUCom...