- Abbreviated as JS
- Created in 1995 by Netscape
- Established and Demanded: JS is essential for web development. Several popular libraries and frameworks are created on top of JS: jQuery, React, Angular, Vue.js. Also, TypeScript, a programming language that builds on JS, adds static typing. A deep dive in JS will allow one to explore many other popular tools faster.
- Versatile: JS can be used for both front-end development (with frameworks like Angular, React, Vue.js) and back-end development (with Node.js). It can be run on web browsers, servers, mobile devices.
Vanilla JavaScript
: plain, pure JS (in this directory, for quick access)p5.js/
: is an open-source JS library for creative coding. Go to the source repository (LGPL)
There are several ways to develop with JS.
-
Using Node.js: install Node.js from its website or use Node Version Manager (NVM) (quick, easy and can manage multiple versions):
- Run the script mentioned in the repository
source ~/.bashrc
nvm list-remote
nvm install v24.1.0
(select one from the list)nvm -v
More information available with
nvm --help
. Once Node.js is installed, execute a JS script using command:node script.js
-
Developer Console: modern browsers come with built-in developer tools, including a JS console.