Your comment can apply to any programming language, no matter how bad. It can apply to PHP. It can apply to Visual Basic. It can apply to assembly language.
Of course, discipline and best practices can elevate all languages. My point was: you should seek out the language with the best qualities in order to minimize the difficulties. Don’t rely on self-discipline.
Yes, new features have been added to ECMAScript. But none of the old, bad features have been removed; they’re still there, waiting patiently like landmines to blow off your legs.
Moreover, the latest ECMAScript 2017 specification is over 885 pages long!!! This language is turning into a monstrosity.