DEV Community

Discussion on: You Don't Know JS: Get Started: Chapter 1 (What is JavaScript?) Notes

Collapse
 
shaijut profile image
Shaiju T

Nice 😄, Yesterday i read this post which said JS is a interpreted language and now i read JS is a compiled language. There is lot of confusion going on this topic.

  • Stanford University teaches JS is a interpreted language.
  • Mozilla Javascript Docs is saying JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.
  • Below posts says it is compiled language

softwareengineering.stackexchange....
blog.greenroots.info/javascript-in...

Is there single source of truth for Javascript like a official document ?

I think Mozilla statement is correct Javascript is just-in-time compiled at run time and thus not fully compiled at build time like other compiled languages.

Collapse
 
rajat2502 profile image
Rajat Verma

According to what I know the Mozilla docs are the official and best resource of knowledge for JavaScript. So, you should go ahead with that!