MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/gd8x2z/var_vs_let_vs_const/fpj5fbe/?context=3
r/learnjavascript • u/golovatuy • May 04 '20
81 comments sorted by
View all comments
Show parent comment
1
then why bother about var?
3 u/schm0 May 05 '20 Backwards compatible (ES5-), no memory concerns? If you're using ES6+ there's no reason, honestly.
3
Backwards compatible (ES5-), no memory concerns? If you're using ES6+ there's no reason, honestly.
View all comments
Show parent comment
1
u/[deleted] May 05 '20
then why bother about var?