Sort Score
Result 10 results
Languages All
Labels All
Results 591 - 600 of 23,249 for

js

(0.17 sec)
  1. XRTransientInputHitTestSource - Web APIs | MDN

    Learn about the XRTransientInputHitTestSource interface, including its properties and methods, code examples, specifications, and browser compatibility.... js const xrSession = navigator.xr...XRTransientInputHitT object to null . js transientHitTestSour.cancel();...

    developer.mozilla.org/en-US/docs/Web/API/XRTran...
  2. TypeError: can't set prototype of this object -...

    The JavaScript exception "can't set prototype of this object" occurs when attempting to set the prototype of an object, but the object's prototype is frozen, either by being a built-in immutable prototype object, or by being non-extensible....prototype : js Object.setPrototypeOf(Object...change its prototype either: js const obj = {}; Object.preventExtensions(obj);...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  3. SyntaxError: setter functions must have one arg...

    The JavaScript exception "setter functions must have one argument" occurs when a setter is declared and the parameter list is not consisted of exactly one formal parameter.... Examples Invalid cases js const obj = { set value() { this...Math.random(); }, }; Valid cases js // You must declare one parameter...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  4. GPU - Web APIs | MDN

    Learn about the GPU interface, including its properties and methods, code examples, specifications, and browser compatibility....Requesting an adapter and a device js async function init() { if (...with the optimal texture format js const canvas = document.quer...

    developer.mozilla.org/en-US/docs/Web/API/GPU
  5. Client-side storage - Learn web development | MDN

    That's it for now. We hope you've found our rundown of client-side storage technologies useful....): js localStorage.setItem("name",...into your JavaScript console: js let myName = localStorage.getItem("name");...

    developer.mozilla.org/en-US/docs/Learn/JavaScri...
  6. TypeError: can't assign to property "x" on "y":...

    The JavaScript strict mode exception "can't assign to property" occurs when attempting to create a property on primitive value such as a symbol, a string, a number or a boolean. Primitive values cannot hold any property.... Examples Invalid cases js "use strict"; const foo = "my...the object equivalent Object . js "use strict"; const foo = new...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  7. NavigationCurrentEntryChangeEvent - Web APIs | MDN

    Learn about the NavigationCurrentEntryChangeEvent interface, including its constructor and properties, code examples, specifications, and browser compatibility....Examples Navigation data reporting: js navigation.addEventListener(...Setting up a per-entry event: js navigation.addEventListener(...

    developer.mozilla.org/en-US/docs/Web/API/Naviga...
  8. ReferenceError - JavaScript | MDN

    The ReferenceError object represents an error when a variable that doesn't exist (or hasn't yet been initialized) in the current scope is referenced....Examples Catching a ReferenceError js try { let a = undefinedVariable;...error } Creating a ReferenceError js try { throw new ReferenceError("Hello");...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  9. Contact Picker API - Web APIs | MDN

    The Contact Picker API allows users to select entries from their contact list and share limited details of the selected entries with a website or application.... js const supported = "contacts"...check for supported properties. js async function checkProperties()...

    developer.mozilla.org/en-US/docs/Web/API/Contac...
  10. Background Synchronization API - Web APIs | MDN

    The Background Synchronization API enables a web app to defer tasks so that they can be run in a service worker once the user has a stable network connection....sync from a browsing context: js async function syncMessagesLater()...with a given tag is registered. js navigator.serviceWorker.ready...

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