⚙️JavaScript Engine
Also known as JS Engine, V8, JavaScriptCore, SpiderMonkey
The program that runs JavaScript code. V8 is the best known.
Think of it like
Think of it like the motor in a car. The runtime is the rest of the car.
Example
Why it matters
The engine decides how fast your JavaScript runs. Knowing which one sits under a runtime tells you a lot about how it will behave.
Definition
Common mistake
Key takeaways
- 1Runs the language. Parses, runs and compiles.
- 2Several exist. V8, JavaScriptCore, SpiderMonkey.
- 3Needs a host. A browser or a runtime.