🈯variable declaration
JS ⟩ declaration ⟩ variable
(declaration) declares a var / let / const variable.
function (declaration) vs. variable declarations
function declaration is instantly fully initialized.
variable declarations is undefined/uninitialized initially.
👉 hoisting
📗 JS.info ⟩ Function Declarations
(❗redeclaration ) JS is lenient with var, strict with let.
there is no type associated with variable declarations❗
Last updated