Var: Function Scope, allowing access throughout the entire function, hoisted to the top of its block scope, but not block scoped. Can be redeclared or reassigned. Let: Block scope ( for, while, if)- Hoisted to the top of its block but not initialized...

Markdown supported · ⌘↵ to post
No responses yet.