[flagged]
But if you were here in the 2000, that's exactly what happened.
In fact, this very article starts with "JavaScript, the undisputed king of web development, is being sabotaged — not by a rival language or a revolutionary new technology, but by its own baggage from the past.". That's the first sentence.
Nobody wanted to work with JS, it was used to make snowflakes on your home page on Xmas at best.
Then things like gmail happened (using GWT!), and the web became the most awesome platform in the world. By then it was too late, JS was the de facto language of the coolest tech of human history.
It was such a trap Google spent billions and hired the best minds out there to make chrome, with a VM that could execute it fast enough, so the company could make its vision happen.
At the time, JS was a nuisance and an embarrassment, something we had to deal with. The "good parts" was the bible because it's a language you could only use if you ignore half of it.
Case in point, the most popular JS techs created after that existed precisely to avoid writing ES5. Like coffeescript, babel, webpack, etc.
JS is a decent language now, because the community invested so much into it. Provided you use tooling. A lot of it.
But that's not how it started. We were forced to use it, and had to spend considerable resources to make up for how bad it was.
I've yet to met anybody who knows Python/Ruby/C#/Java/Rujst/Go and JS to chose JS outside of the web. Because there, we have the choice.
Electron, unfortunately, might take a chunk of that choice, because once again, the browser platform is that great.