All Questions
2 questions
0
votes
1
answer
891
views
Is it okay to use var on purpose in ES6, as opposed to let?
I was really glad that ES6 introduced the let keyword for defining variables. var scoping rules can lead to all kinds of issues, especially when working with loops and event handlers. Even when ...
3
votes
1
answer
4k
views
Why tabs are evil in ES6? [closed]
As I have recently started using ES6 in production, I was going through an ES6 style guide (having more than 350 stars on GitHub). This guide mentions at least three times that "Tabs are evil. Don't ...