As you can imagine, a language created in 10 days is not perfect. There were lots of quirks, rushed decisions, and things that simply make no sense:
Despite that, JS quickly rose in popularity. And as JS became more popular, the ecosystem around it also grew. That's why, today, JS has a plethora of modern frameworks, libraries, tooling, tutorials, questions, and communities around it.
It's also why there's been several updates to improve the language in recent years, with ES6 adding amazing features like arrow functions, destructuring, template strings etc. And why JS can now not only be used in the browser, but also for back-end development, machine learning, app development and so much more.
There's obviously still things to dislike about JS, but in my opinion, the flexibility and ecosystem far outshine any other programming language. It's also the easiest language to get started with: there's no need for a compiler or a runtime. You don't even need a code editor. Just open the console in your browser and you can begin writing JS.
And since JS is designed to work with HTML and CSS, it's also the easiest way to get stuff actually happening on the screen. When I started learning Java years ago, I wrote programs that would run on my computer and output stuff in my terminal. That was pretty hard to get excited about.
It's a lot easier to get excited (and stay motivated) when a few lines of code can make big visual changes that you can easily play around with and put online for the entire world to see. And to this day, that's the biggest strength of JS if you ask me.
I'm Mads Brodt — a developer, author, teacher, creator and blogger. To keep up with all of my writing, follow me on Twitter or sign up with your email above 👆