📜  javascript 解释器的工作原理 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:11.106000             🧑  作者: Mango

代码示例1
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.