🔸undefined
🚧 under construction
JS ⟩ scope ⟩ global ⟩ global object ⟩ property ⟩ undefined
( read-only global object property )❗ automatically assigned to
undefined
is not a keyword❗
is not a literal❗
is an immutable & read-only property of the global object❗
JS doesn't throw any errors if you declare it in the global scope.
has no primitive wrapper, can't call methods, has no properties.
with a function in block (FiB)
sloppy mode: ✅ hoisted / initialized to undefined (in outer scope)
strict mode: ⛔ ReferenceError (invisible in outer scope)❗
Last updated