Bachelor's and Master's in CS from MIT. Previously, worked @ Microsoft & Zynga. Currently Co-Founder of Moesif (moesif.com), the most advanced API analytics platform.
I think it is all matter of timing and luck, more than the pro and cons of the design of the language itself.
It was the scripting language chose for the web browser, by basically the first popular browser (Mosaic/Netscape).
Rising tide floats all boats.
Once Javascript established as the foothold in the first browser, many websites add it to their website, now all future browser has to support it. As more websites needs Javascript, job market will ask for people who know Javascript. As more people learn Javascript, they want to leverage what they know to build more thing.
The original decision makers for Netscape/Mosaic considered Scheme or TCL also, if they had chose that, we might be asking the same of TCL or Scheme. (ironically, they called the language Javascript to associate themselves with Java, which was becoming the hot language at the the time.).
Java Web Developer with a passion for Spring and cloud computing. Know a thing or two about AWS. Trying to learn NodeJS lately with the help of TypeScript.
I think it is all matter of timing and luck, more than the pro and cons of the design of the language itself.
It was the scripting language chose for the web browser, by basically the first popular browser (Mosaic/Netscape).
Rising tide floats all boats.
Once Javascript established as the foothold in the first browser, many websites add it to their website, now all future browser has to support it. As more websites needs Javascript, job market will ask for people who know Javascript. As more people learn Javascript, they want to leverage what they know to build more thing.
The original decision makers for Netscape/Mosaic considered Scheme or TCL also, if they had chose that, we might be asking the same of TCL or Scheme. (ironically, they called the language Javascript to associate themselves with Java, which was becoming the hot language at the the time.).
Yes, this historic side is very important, it was a process that led to this.