DEV Community

Discussion on: Briefly, what is the difference between "var" and "let" keywords in Javascript?

Collapse
 
jafuentest profile image
Juan A. Fuentest Torcat • Edited

That is just one of many differences, here's a a more detailed explanation: stackoverflow.com/questions/762011...

But the real point behind let was to change the scope