JavaScript engine

The part of a browser or runtime that reads JavaScript code and executes it.

In more detail

Examples include V8 in Chrome and Node.js, SpiderMonkey in Firefox and JavaScriptCore in Safari. Engines compile frequently run code to fast machine code while it runs, and manage the call stack and memory, including garbage collection. The engine runs the language itself, while features such as the event loop, files, networking and web APIs come from the browser or runtime around it.

Related terms

Taught in

References