If Javascript code gets executed line by line then, how AST (Abstract syntax tree) works?

195 views Asked by At

Javascript is an interpreted language which executes code line by line. On the other hand, AST (Abstract Syntax Tree) inside the Javascript engine, created the data structure of the whole code and converts into machine code. Then how line by line mechanism is being applied here?

0

There are 0 answers