global variable
a var/let/const in global scope.
Last updated
Was this helpful?
a var/let/const in global scope.
Last updated
Was this helpful?
JS ⟩ scope ⟩ global ⟩ variable
a var/ let / const variable declared in the global scope.
global object property is also exposed as global variable.
global variables do get created by declaring variables in the global scope.
DOM element with "id" is automatically registerd as global variable/global object property.