JavaScript is a demented programming language used primarily for front-end web development (or writing web browser applications). This is because JavaScript is currently the only programming language native to the web browser, so web developers have no choice.

Secondarily, JavaScript is used server-side with Node, and in mobile with React Native and Apache Cordova, and in desktop with Electron. All other uses of JavaScript are insignificant.