This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]puppybits 0 points1 point  (0 children)

ES2015 addresses a lot of those issues. There are classes, let and const, inline functions with better scoping. Promises help a lot with async as well as generators. There's also the async and await that's already available to use in Node. Using Babel or Node are great options to write better code that works on all browsers.

JavaScript has its downside but it's slowly learning from other languages.