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" which is the newest iteration of ECMAScript language we call JavaScript.
- What is Transpilation and how does it relate to
ES6
?- Transpilation takes ES6 code and give you back ES5 code. Most browsers today are by default only compatible with ES5 code. But there are tools that allow developers to write
ES6
code and then convert it toES5
so that it runs on all browsers.
- Transpilation takes ES6 code and give you back ES5 code. Most browsers today are by default only compatible with ES5 code. But there are tools that allow developers to write
- Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous,- Module loading seems like a great advantage with
ES6
. You get compile time errors if you try to import something that has not been exported and you get compile time errors if you try to import something that has not been exported.
- Module loading seems like a great advantage with