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
?
- ECMAScript is another term for JavaScipt, and ES6 is the latest release. ES6 added new features including more iterators and for/of loops.
- What is Transpilation and how does it relate to
ES6
?
- Transpiling means changing code to another language or version. Some older browsers may require developers to transpile ES6 to ES5. This can be done with Babel.
- Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous,- ES6 introduced classes, which is syntactic sugar for object.prototype. Coming from Ruby, I like this change.