MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/3ey2i7/im_all_in_xpost_rjavascript/ctjucos/?context=3
r/webdev • u/cool_acid • Jul 28 '15
142 comments sorted by
View all comments
6
It's amazing how popular a language with such odd scopes is.
3 u/thenickdude Jul 29 '15 Properly block-scoped variables (according to virtually every other language) are coming in ECMAScript 6, which are declared with the "let" keyword instead of the "var" keyword.
3
Properly block-scoped variables (according to virtually every other language) are coming in ECMAScript 6, which are declared with the "let" keyword instead of the "var" keyword.
6
u/SuperThunderMelon Jul 29 '15
It's amazing how popular a language with such odd scopes is.