global object
🚧 施工中
Last updated
Was this helpful?
🚧 施工中
Last updated
Was this helpful?
⟩ ⟩ ⟩ object
an object that always exists in the global scope. ⭐️ get it with globalThis, regardless of the current context/environment
global object's interface depends on the environment:
in web worker: self (a object)
in Node.js:global
(an object called )
(read-only) global object property
NaN
/Infinity
/ undefined
in global scope,
var / function are implemented as global object property
these properties cannot be deleted with delete
Ch. 3:
Ch. 4: