loading...

Discussion on: let, const, and my view

Collapse
aviaryan profile image
Avi Aryan

Same here.

By default, I write const and then only switch to let if I need to change a variable. If you write code functional programming style (which is better IMO), you won't be using let. I almost don't use let at all.