Length | Points | Week |
---|---|---|
15 minutes | 5 | Week 1 |
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
- Fork This Gist
- Respond in your forked gist with answers to the following questions
- What is
ES6
? - What is Transpilation and how does it relate to
ES6
? - Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous
- What is
- You can use the resources below or your own Google-fu
- What is
ES6
?- ES6, also known as ECMAScript 6, ECMAScript 2015, and Harmony, is the proper name for JavaScript and represents a specific update to the language
- What is Transpilation and how does it relate to
ES6
?- Transpilation refers to source-to-source compiling. What this means is that a transpiler will take source code written in one language and convert it to another language at the same level of abstraction. ES6 is not currently compatiable will every browser, and so a transpiler can convert ES6 to a different version of JavaScript
- Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous- Adding the ability to set default parameters in the argument of a function will be extremely useful. It is useful in Ruby and I've used it many times, so I have no doubt it will be useful here as well