The relationship between Node.js and FireFox

I knew that node.js is based on the Google Chrome Javascript V8 engine. And I want to know if node.js can work on FireFox, then how?

What version of firefox supports V8 javascript Engine or node.js?

+5
source share
1 answer

You are mixing JS Engine and browser.

  • V8 is the Google Chrome JS engine (also used by Chromium and MongoDB among others).
  • SpiderMonkey is JS Engine Firefox (also used by GNOME and Adobe as examples).
  • Chakra is a Microsoft JS Engine engine used only by IE and Edge.

Node.js is based on V8, which you mix with Google Chrome. They use the same JS Engine, but you don’t need any part of Chrome itself to use Node.js.

There was a project for the Node.js port for SpiderMonkey, but JXcore is more promising, and Node.js, which is independent of the JS Engine, and can directly use V8 or SpiderMonkey.

You may also be interested to know that Microsoft is currently moving Node.js to the chakra .

+4
source

Source: https://habr.com/ru/post/1259465/


All Articles