Como funciona o intérprete JavaScript

JavaScript has no compilation step.
Instead, an interpreter in the browser reads over the JavaScript code,
interprets each line, and runs it. 
More modern browsers use a technology known as Just-In-Time 
(JIT) compilation, which compiles JavaScript to executable bytecode
just as it is about to run.
tinydev