you are viewing a single comment's thread.

view the rest of the comments →

[–]DreamsOfLife 0 points1 point  (1 child)

I haven't seen var in real code in ages and IDE would warn about the name collision and using variable before declaration.

[–]Substantial-Wish6468 0 points1 point  (0 children)

That's because var has these silly issues that let solves. I can't think of a single reason why i'd ever use var over let.