Answers for "2. what is the difference between let and var?"

4

difference between "let" and "var"?

In simple words 'var' is function scoped and 'let' is block scoped
Posted by: Guest on October-02-2021

Code answers related to "2. what is the difference between let and var?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language