re: Is Javascript a compiled language? VIEW POST


Read past the first sentence of wikipedia:

The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.

You're using the broader definition (what you quoted) vs the colloquial definition (what I've quoted).

Can normal javascript produce a stand-alone executable? Can javascript be run without an interpreter?

That said, there are efforts to actually make js able to be compiled:


I wrote that JS is not “compiled” as many other languages but It has some behavior of compiled language before the runtime.
So, I think that we can look at It as a compiled language...

But that’s why this is a #discussion

code of conduct - report abuse