DEV Community

Discussion on: Getting started with JavaScript : The Definitive Guide

Collapse
 
shaijut profile image
Shaiju T • Edited

Topic is getting hot, Today i read this post which said JS is a compiled language but here i read JS is a interpreted 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
 
rohinibali profile image
Rohini Bali

You should refer to MDN docs since the creators of javascript previously which introduced netscape are the in hold of Mozilla