Skip to main content

All 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 ...
GregRos's user avatar
  • 1,763
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 ...
mg007's user avatar
  • 155