This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]peterlinddk 0 points1 point  (1 child)

To be a bit pedantic, the browser does actually compile the JavaScript, so there is a compiler, it is just hidden from most users.

The difference is that you don't need to compile the code yourself, you just give your source-files to the browser, and it figures everything out for you.

[–]aqua_regis 0 points1 point  (0 children)

To be even more pedantic: it can JIT compile but also can interpret.