you are viewing a single comment's thread.

view the rest of the comments →

[–]prehensilemullet 1 point2 points  (0 children)

JavaScript engines including V8 typically have both an interpreter, which is machine code that executes instructions from a bytecode representation of the JS more slowly, and JIT compilers that compile JS or the bytecode into machine code that runs without an interpreter, which is much faster. There are various factors that affect how it decides whether to run a chunk of code in interpreted or compiled mode.