Javascript Documentation

++++++++++++++++++++Javascript Notes++++++++++++++++++++

History of JavaScript

1996 - Changed from LiveScript to JavaScript. JavaScript has almost nothing to do with Java.



1997 - ES1 (ECMAScript 1) became the first version of JS language standard
.

- ECMAScript: The language standard.
- JavaScript: The language in practice.

2009 - ES5 (ECMAScript 5) was released with lots of new features.

2015 - ES6/ES2015 (ECMAScript 2015) was released: The biggest update to the language ever!

2015 - Changed to an annual release cycle

2016/2017/2018/2019/… - Release of ES2016 / ES2017 / ES2018 / ES2019 and so forth!


State of each version so far!
(As of March 17th, 2020)

ES5:
 - Fully supported by all browsers - Ready to be used today!

ES6/ES2015 - ES8/ES2017:
 - Well support in all modern browsers - No support in older browsers - Can use most features in prod w/ transpiling and polyfilling (converting to ES5) - ES6 Compatibility Table

ES9/2018 - ES10/2019 and so on…: - Future versions, together called ESNext; - Some features supported in modern browsers. - Can already use some features in production w/ transpiring and polyfilling.


What each version contains

ES5:
 - JS fundamentals; - How the language works; - DOM manipulation project; - Advanced language features; - Huge Real Project;

ES6+:

  • ES6/ES2015 introduction;
  • Asynchronous JS;
  • AJAX and API calls;
  • Modern Dev Setups (Webpack and Babel)
  • Huge Real Project;

“Our code” => JS Engine “Program that executes JS code” (Google Engine; ReNote, SpiderMonkey, JS Core)