In ES5, we used to declare a variable using var. ES6 provides a new way of declaring a variable by using the let keyword. But there are some differences between let and var. Let’s understand some concepts related to let. Block Scope: Variables declar...

Markdown supported · ⌘↵ to post
No responses yet.