> For the complete documentation index, see [llms.txt](https://javascript-1.gitbook.io/javascript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://javascript-1.gitbook.io/javascript/v8-engine.md).

# V8 Engine

### **Interpreters:**

&#x20;    Reads the js code line by line and converts to binary code and provides the result.

&#x20;   **Cons:**  Execution time for repeated code will be longer.

### Compilers:

&#x20;   Reads the entire code in the js file and converts to another language and provides the result.

&#x20;  **Pros:**  Less execution time is taken for the repeated code execution.

### Inside V8 Engine

V8 Engine = Interpreter + Compiler = JIT (Just in Time) Compiler

![Inside V8 Engine](/files/-LdbrJBebigTgoXsjr5l)
