Block level Scope : variable declared inside a {} block, it can not access from outside the block is called block Scope. ES6 introduced block scope two keywords that is let and const. { let x = 2; } // x can not be acces from here Global Level S...

Markdown supported · ⌘↵ to post
No responses yet.