Explanation :
JavaScript is an interpreted language, not a compiled language. C++
or Java codes needs to be compiled before it is run. The source code is passed
through a program called a compiler, which translates it into bytecode that the
machine understands and can execute. There is no such need in case of JavaScript.