Difference between Javascript var, let and const
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...
okosunmary.hashnode.dev4 min read
Elena Kazakova
This is helpful, thanks! I think you need to replace var with let in the section on how let works with blocks.