[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/API/WorkerGlobalScope/self [Back]  [Original]

WorkerGlobalScope: self - Web API | MDN

MDN Web Docs

View in English Always switch to English

WorkerGlobalScope: self

Baseline

20157

self WorkerGlobalScope WorkerGlobalScope DedicatedWorkerGlobalScope SharedWorkerGlobalScopeServiceWorkerGlobalScope

js
console.log(self);

DedicatedWorkerGlobalScope {
undefined: undefined, Infinity: Infinity, Math: MathConstructor, NaN: NaN, Intl: Object}
    Infinity: Infinity
    Array: function Array() { [native code] }
      arguments: null
      caller: null
      isArray: function isArray() { [native code] }
      length: 1
      name: "Array"
      observe: function observe() { [native code] }
      prototype: Array[0]
      unobserve: function unobserve() { [native code] }
      __proto__: function Empty() {}
      <function scope>
    ArrayBuffer: function ArrayBuffer() { [native code] }
    Blob: function Blob() { [native code] }
    Boolean: function Boolean() { [native code] }
    DataView: function DataView() { [native code] }
    Date: function Date() { [native code] }
    DedicatedWorkerGlobalScope: function DedicatedWorkerGlobalScope() { [native code] }
    Error: function Error() { [native code] }
// etc. etc.

HTML
# dom-workerglobalscope-self-dev

WorkerGlobalScope

Web Proxy Viewer  |  New URL  |  Original Page