Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.
That might have something to do with something called ES6
and ES5
-
What is
ES6
?ES6 is the lastest version of ECMAScript which is what JavaScript is based on.
-
What is Transpilation and how does it relate to
ES6
?Transpilation converts from one thing to another. In this case from ES6 to ES5 so that people can write in the new JS syntax and have it converted back to the previous version so that browsers can understand it.
-
Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous.One huge update is the new class system. It formalizes the class object in JS.