🔰web worker

🚧 施工中

JSbrowserweb API ⟩ web worker

(a JS environment) an extension on top of browser-JS behavior, which allows a JS file to run in a completely separate thread from the thread that's running the main JS program.

Web Worker code

  • does not have access to the DOM. (can't access window, for example)

  • does not share the global scope with the main JS program.

Web Worker code do have access to the following web API

  • naviagtor

Last updated