You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Notes/17-JSEngine-ChromeV8.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ to compile JS code.
15
15
Interpreter : Takes code and executes line by line. Has no idea what will happen in next line. Very fast.
16
16
Compiler : Code is compiled and an optimized version of same code is formed, and then executed. More efficient
17
17
18
-
- Code inside JSE passes through 3 steps : **Parsing, Compilation and Execution**
18
+
- Code inside JRE passes through 3 steps : **Parsing, Compilation and Execution**
19
19
20
20
1.**Parsing** - Code is broken down into tokens. In "let a = 7" -> let, a, =, 7 are all tokens. Also we have a **syntax parser** that takes code and converts it
21
21
into an **AST (Abstract Syntax Tree)** which is a JSON with all key values like type, start, end, body etc (looks like package.json but for a line of code in JS. Kinda
0 commit comments