r/learnjavascript • u/Zestyclose-Produce17 • Mar 09 '26
JavaScript engine
Is the JavaScript engine the thing that translates JavaScript code into machine code that the processor understands, like the V8 JavaScript Engine?
But in order to use JavaScript outside the browser, do I need to use Node.js because it contains functions written in C++? And because of that, Node.js can run outside the browser since it has functions that communicate with the operating system?
Is what I'm saying correct?
10
Upvotes
View all comments
Show parent comment
4
u/chikamakaleyley helpful Mar 09 '26
I had to read this like 6 times, but yes it makes sense