DEV Community

Discussion on: Do You Still Use Var? If So Why?

Collapse
 
deciduously profile image
Ben Lovy

Great run-through in this StackOverflow answer. They behave differently, it's important to know what the differences are. I find let clearer in almost every case, the only exception in my personal use has already been covered by other commenters - the try/catch thing doesn't really have a clean workaround using let.