JavaScript execution model - JavaScript | MDN
This page introduces the basic infrastructure of the JavaScript runtime environment. The model is largely theoretical and abstract, without any platform-specific or implementation-specific details. Modern JavaScript engines heavily optimize the described semantics. This page is a reference. It assumes you are already familiar with the execution model of other programming languages, such as C and Java. It makes heavy references to existing concepts in operating systems and programming languages. JavaScript execution requires the cooperation of two pieces of software: the JavaScript engine and the host environment. The JavaScript engine implements the ECMAScript (JavaScript) language, providing the core functionality. It takes source code, parses it, and executes it. However, in order to interact with the outside world, such as to produce any meaningful output, to interface with external resources, or to implement security- or performance-related mechanisms, we need additional environmen
JavaScript execution model - JavaScript | MDN Skip to main content Skip to search JavaScript execution model This page introduces the basic infrastructure of the JavaScript runtime environment. The model is largely theoretical and abstract, without any platform-specific or implementation-specific details. Modern JavaScript engines heavily optimize the described semantics. This page is a reference. It assumes you are already familiar with the execution model of other programming languages, such as C and Java. It makes heavy references to existing concepts in operating systems and programming la
related reading
- Microtasks and event looptr.javascript.info
- Populating the page: how browsers work - Performance | MDNdeveloper.mozilla.org
- The Event Loop and Callback Hell - Wes Boswesbos.com
- What the heck is the event loop anyway? | Philip Roberts | JSConf EUyoutube.com
- Classes - JavaScript | MDNdeveloper.mozilla.org
- TypeScript: Documentation - TypeScript for the New Programmertypescriptlang.org
- TypeScript Structured Concurrencythecandidstartup.org
- CoffeeScriptcoffeescript.org
- Sandboxing JavaScript Code — Andrew Healeyhealeycodes.com
- Promise - JavaScript | MDNdeveloper.mozilla.org
- Demystifying Code Bundling with JavaScript Modules - Simple Threadsimplethread.com
- Inside look at modern web browser (part 3) | Blog | Chrome for Developersdeveloper.chrome.com