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 ECMAScript6, the newest version released in mid 2015.
- What is Transpilation and how does it relate to
ES6
?- Transpilation is essentially backwards compatibility, or changing ES6 to previously used versions for older browsers or applications that don't support ES6.
- Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous,- Some of the library additions seem really cool. It's not something I anticipate using much, but I like seeing things like Math.hypot added. I also like the template strings updates. Providing as much support as possible for commonly used datatypes goes a long way toward making a language convenient to use. Adding support for multiline strings and interpolation seems like something that should have been done a long time ago.