📘global 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
WorkerGlobalScope
object)
(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❗
Last updated