#!/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.
โAny application that can be written in JavaScript, will eventually be written in JavaScript.โ
- Jeff Atwood (Cofounder of StackOverflow)
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.
JavaScript has its own package manager, called NPM, specifically for the runtime environment Node.js.