In this article, we will understand the difference between var, let and const with respect to their scope and use. These statements are used to declare a variable. Variables are containers for storing information. Creating a variable in JavaScrip...

Markdown supported · ⌘↵ to post
Okosun Mary
Elena Kazakova
This is helpful, thanks! I think you need to replace var with let in the section on how let works with blocks.