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...
dynamiclance.hashnode.dev1 min read
No responses yet.