JavaScript runtime
The environment that runs JavaScript programs, combining a JavaScript engine with extra features such as files, networking and timers.
In more detail
A browser is one JavaScript runtime and Node.js is another; both use an engine but offer different built-in APIs. Settings given to node at start-up, such as command-line flags, are called runtime configuration.
Related terms
- Node.js — A program that runs JavaScript outside the web browser, used mainly to build servers, command-line tools and back-end services.
- JavaScript engine — The part of a browser or runtime that reads JavaScript code and executes it.
- language runtime — The software a programming language needs installed to run programs, such as the Python interpreter or Node.js.
Taught in
- V8 Engine & JIT Pipeline: Bytecode & Turbofan — Node.js Internals & Backend Services
- Runtime Configuration: CLI Flags & Native --env-file — Node.js Internals & Backend Services
- Native Test Runner: node:test & node:assert/strict — Node.js Internals & Backend Services