DEV Community

Cover image for You Don't Know JS: Get Started: Chapter 1 (What is JavaScript?) Notes

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

Rajat Verma on November 18, 2020

Chapter 1: What Is JavaScript? JavaScript is not the script part of Java. The official name of the language specified by TC39 and forma...
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!

Collapse
 
rajat2502 profile image
Rajat Verma • • Edited

These are the notes of Chapter 1 of YDKJS: Get Started.
If you want to read the complete chapter, book, or series, please head over to their repository:
github.com/getify/You-Dont-Know-JS

Collapse
 
artydev profile image
artydev •

Thank you :-)
Keep on

Regards

Collapse
 
rajat2502 profile image
Rajat Verma •

Thanks, Do you have any suggestions on how I can improve these blogs?

Collapse
 
kushagrarora17 profile image
Kushagr Arora •

That's well written... Good job Rajat. It will be really appriciable if you put new articles regularly from YDKJS on Dev.to

Collapse
 
rajat2502 profile image
Rajat Verma •

Thanks a lot Kushagra, I will try my best to publish more of such articles.

Collapse
 
rajat2502 profile image
Rajat Verma • • Edited
Collapse
 
geekquad profile image
Aditya Kumar Gupta •

Such a good article for a newbie like me. Keep up the good work.

Collapse
 
rajat2502 profile image
Rajat Verma •

Thanks a lot bro😌😉

Collapse
 
dansilcox profile image
Dan Silcox •

Nice job Rajat :) I use JS regularly but didn't really know much of this history / background info :)

Collapse
 
rajat2502 profile image
Rajat Verma •

Thanks Dan, Glad it helped you ;)

Collapse
 
3cor profile image
3cor •

That was really well written!
I've never thought JS to be a compiled before. Kinda blown my mind when I think about it.

Collapse
 
rajat2502 profile image
Rajat Verma •

Hey, thanks man!
Yeah, this was shocking for me as well!
The complete book series has a lot of shocking secrets about the language :)

Collapse
 
lankjan007 profile image
Dmitri •

Thanks Rajat, for sharing this value bombs 💫🎉👍🏼

Collapse
 
rajat2502 profile image
Rajat Verma •

Glad you liked it!
Do read notes of the other chapters too :)

Collapse
 
lankjan007 profile image
Dmitri •

👍🏼 will do!

Collapse
 
kanup4m profile image
Anupam kushwaha •

Good work, Rajat !!

Collapse
 
rajat2502 profile image
Rajat Verma •

Thank you, Sir ;)