Welcome & Hello World
JavaScript is a high-level, lightweight, interpreted programming language with first-class functions. Best known as the scripting language for Web pages, it is also widely used in non-browser environments like Node.js, databases, and structural devices.
Unlike languages that require compiling source code into machine blocks before running (like C++), or languages parsed fully line-by-line (like early basic scripts), modern JavaScript uses a hybrid compilation paradigm. Inside browsers (like Chrome's V8 engine), JS uses Just-In-Time (JIT) Compilation.
The JIT engine reads your code, compiles it into local machine code on-the-fly right as it runs, optimizing loops and hot variables dynamically during execution to yield maximum performance speeds.
Let's print messages to our compiler console. We use the built-in `console.log()` utility:
console.log("Hello, World!");
console.log(10 + 20); // Math expression evaluations
Running Environments: JavaScript runs in the browser console (accessible via right-click -> Inspect -> Console) or on servers using the **Node.js** runtime system, which runs Chrome's V8 engine standalone.