Notes On ...

JavaScript

#!/usr/bin/env node

function helloWorld() {
    console.log("This is JavaScript");
}

helloWorld();

JavaScript is a high-level, single-threaded, interpreted language, that is most known for building websites. Its creator, Brendan Eichโ€™s, original goal was to add an โ€œeasy to learnโ€ scripting language to the Netscape Browser. Nowadays JavaScript is considered a fully-featured language that continues to grow according to the ECMA Standard ๐ŸŒ.

It is most well-known for building โ€œfront-endโ€ web applications, because it is the only language (other than WebAssembly ๐ŸŒ) that is run natively in web browsers (like Mozilla FireFox or Google Chrome).

JavaScript works in conjunction with HTML and CSS to provide complete websites.

Atwoodโ€™s Law

โ€Any application that can be written in JavaScript, will eventually be written in JavaScript.โ€

JavaScript can also:

This is because JavaScript is an interpreted scripted language, but tools like the V8 engine ๐ŸŒ in Google Chrome, use a โ€œJust-In-Time(JIT)โ€ ๐ŸŒ compiler to convert it to machine code at runtime.

NPM

JavaScript has its own package manager, called NPM, specifically for the runtime environment Node.js.