Few arguments for JS:
- It has beaten quite a few contenders on the web: Java applets, Flash, Silverlight<p>- It's not owned by a single company who can kill it<p>- It has evolved (a lot) over time while maintaining backward compatibility<p>- It has caught up with compile to JS languages that gained traction (coffee script)<p>- It has only gained traction over time (now it's on the server, it's on mobile, it's everywhere)<p>- It might not be as old as C, but it's quite old<p>- Typescript, the most popular compile to JS language atm only adds types, the big claim is "All valid JavaScript code is also TypeScript code." so can we really claim it's not JS?<p>- There is a huge amount of code in JS, many apps and a big percentage of website run on JS. It will take decades to move all of that to something else, meaning support will exist even if something else comes along.<p>- Everyone has been hating on it for two decades and it's still going strong haha.<p>Frameworks and libraries will change, (build) tools will change, JS will evolve, compile to JS languages will change, new languages will pop up, but JS will not go anywhere for a long long time.