One qoute that profoundly stuck with me for quite some time, is the one by Jeff Atwood (one of the founder of stackoverflow)
“ Any application that can be written in JavaScript, will eventually be written in JavaScript. ” - Jeff Atwood
Javascript has been around since 90s but wildfire started spreading only after ECMAScript 5 was released on 2009. It was available in all major browsers by 2012. (Yes, it is fast adoption 🤷, considering how slow it was previous versions)
What started as a way to give interaction to websites in browser, now it is used in so many places, It became main stream with server application ( backend ) with nodejs's success. Not to mention we now have deno as well.
Around the same time, we saw exponential growth in compute and storage power of our laptop and mobile devices. It was so huge. Browsers were catching up to the speed. Since browser was able to wield the power of the powerful devices, GAMES running in browser became more polished and it started becoming more appealing. Introduction of Webassembly(abbreviated Wasm), is only going to accelerate it.
You can build mobile application You can build desktop application popular Slack, GitHub, Skype, and Tidal are developed with the JavaScript framework called Electron.js. You can build VR application You can also write code in IOT devices, quadcopters, You can also do arts with canvas You can also bring up your infrastructure in aws