+ 3

Javascript keyword

what is the difference between LET and VAR?

12th Dec 2017, 8:41 PM
Zohaib 👑
Zohaib 👑 - avatar
2 Réponses
+ 1
The question has been asked many times before. Before asking a question, please search to make sure you can't find your answer. https://www.sololearn.com/Discuss/773316/?ref=app
12th Dec 2017, 9:17 PM
John Wells
John Wells - avatar
+ 1
let for local scope ... function scope var for global scope ..
12th Dec 2017, 9:20 PM
Mukhtaar Aziz
Mukhtaar Aziz - avatar