what is compiler in javascript code example
Example: programming language which complies first before running is called
A program such as C++ or Java needs to be pass through compiler,
which translates it into byte code that the machine understands and can execute.
So they are called compiled language.
And programming languages such as javascript or Python ,compile and
execute concurrently, So they are called interpreted language.