What is a JS engine?
A Javascript engine is a computer program that executes JS code in a web browser. The engine is developed by web browser vendors.
The first JavaScript engine was created by Brendan Eich in 1995 for the Netscape Navigator web browser. This has evolved to be known as SpiderMonkey engine used by Firefox.
In general, JS engines are also known as ECMAScript engines. As many web browsers there are, so are the JS engines.
- Google chrome has V8 engine.
- Mozilla Firefox has SpiderMonkey
- Microsoft Edge and Internet Explorer has Chakra
- Apple Safari has JavaScriptCore
- Opera has Carakan(pronounced Tsharakan)
Each JS engine works in a more or less similar fashion. But, the most popular being V8 engine which used in Chrome and Node.js