This is a scripting language because the JS code is intended for delivery and runs as source code.
If the encoder needs to provide a compiled binary for execution, then this will not be a script.
In addition, no matter what it does in Chrome, the same Javascript source should also work on other platforms, which can be a more or less traditional scripting environment. It also does not change the nature of the code itself as a script.
Even if you move on to compiling it, JS is still a scripting language. There are correct traditional compilers available for almost every scripting language you can think of (Perl, PHP ....); this does not prevent them from being script languages, and their source code is script.
Similarly, there are interpreters for many languages that are traditionally compiled.
Finally, the problem is further confused by the concept of "compiling" one language into another. It was a while, but the idea really came off languages like Coffeescript, which are meant to be compiled into Javascript. So what do you call Coffeescript compiled code?
The terminology is actually not all that useful, especially now, but the final answer to your question in the context you ask him is that yes, Javascript is still a scripting language.
source share