🌟global scope
(in a programming environment) the scope that contains, and is visible in, all other scopes.
global object - an object that always exists in the global scope.
globalThis - identifier for the global object.
window - global object in browser.
self - global object in web worker.
global - global object in Node.js.
isCurrentlyInGlobalScope() - check if current context is in global scope.
Last updated