DEV Community

Discussion on: JavaScript var vs let. Which one should you use?

Collapse
 
sebbdk profile image
Sebastian Vargr • Edited

This ^

If you have the same variable name in your nested blocks, then likely you are also fudging up the readability, a lot, in my experience.

Which is usually where other problems start...