Sort Score
Result 10 results
Languages All
Labels All
Results 321 - 330 of 22,097 for

js

(0.09 sec)
  1. SyntaxError: character class escape cannot be u...

    The JavaScript exception "character class escape cannot be used in class range in regular expression" occurs when a Unicode-aware regular expression pattern contains a character class where a boundary of a character range is another character class, such as a character class escape.... Examples Invalid cases js /[\s-_]/u; // \s is a character...classes can be nested Valid cases js // Put the hyphen at the start...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  2. HTMLInputElement: valueAsNumber property - Web ...

    Learn about the HTMLInputElement.valueAsNumber property, including its type, code examples, specifications, and browser compatibility.... js const logElement = document....compared to that value as a number. js const logElement = document....

    developer.mozilla.org/en-US/docs/Web/API/HTMLIn...
  3. JavaScript performance optimization - Learn web...

    It is very important to consider how you are using JavaScript on your websites and think about how to mitigate any performance issues that it might be causing. While images and video account for over 70% of the bytes downloaded for the average website, byte per byte, JavaScript has a greater potential for negative performance impact — it can significantly impact download times, rendering performance, and CPU and battery usage. This article introduces tips and techniques for optimizing JavaScript to enhance the performance of your website....js"></script> ... </head> This works...rel="preload" href="important-js.js" as="script" /> <!-- Preload...

    developer.mozilla.org/en-US/docs/Learn/Performa...
  4. content/files/en-us/web/html/element/input/colo...

    The content behind MDN Web Docs. Contribute to mdn/content development by creating an account on GitHub....over time to the color value: ```js colorPicker.addEventListener("input"...appropriately in either case. ```js colorPicker.select(); ``` ##...

    github.com/mdn/content/blob/main/files/en-us/we...
  5. Literal character: a, b - JavaScript | MDN

    A literal character specifies exactly itself to be matched in the input text....the Removing HTML tags example: js const pattern = /<.+?>/g; In...when paired with other features: js /^[😄]$/.test("😄"); // false...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  6. CompressionStream - Web APIs | MDN

    Learn about the CompressionStream interface, including its constructor and properties, code examples, specifications, and browser compatibility.... js const compressedReadableSt =...

    developer.mozilla.org/en-US/docs/Web/API/Compre...
  7. WebGLSync - Web APIs | MDN

    Learn about the WebGLSync interface, including code examples, specifications, and browser compatibility.... js const sync = gl.fenceSync(gl...

    developer.mozilla.org/en-US/docs/Web/API/WebGLSync
  8. Window: open() method - Web APIs | MDN

    Learn about the Window.open() method, including its syntax, code examples, specifications, and browser compatibility.... Syntax js open() open(url) open(url, target)...windows. Examples Opening a new tab js window.open("https://www.mozilla...

    developer.mozilla.org/en-US/docs/Web/API/Window...
  9. Video player styling basics - Web media technol...

    In the previous Cross browser video player article we described how to build a cross-browser HTML video player using the Media and Fullscreen APIs. This follow-up article looks at how to style this custom player, including making it responsive....browser now needs to be set: js // Display the user defined video...support the <progress> element: js const supportsProgress = document...

    developer.mozilla.org/en-US/docs/Web/Media/Audi...
  10. Vue refs and lifecycle methods for focus manage...

    So that's it for focus management, and for our app! Congratulations for working your way through all our Vue tutorials. In the next article we'll round things off with some further resources to take your Vue learning further....toggleToItemEditForm() method, like so: js toggleToItemEditForm() { console...the focus() method on the ref. js focusOnEditButton() { const editButtonRef...

    developer.mozilla.org/en-US/docs/Learn/Tools_an...