-
What is
ES6
?
ECMAscript 6 is the sixth major release of the ECMAscript language. ECMAscript is the "proper" name for the language commonly known asPrinceJavaScript. -
What is Transpilation and how does it relate to
ES6
?
A type of compiler that takes the source code of a program written in one language and produces the equivalent source code in another programming language. In relation to ES6, there is a transpiler called Babel that takes es6 and compiles it into a version of JavaScript that can be understood across all browsers. -
Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous.
ES6 seems pretty awesome. A lot of the new features seem a lot more relatable to me(coming from ruby), and in turn have helped me understand the ES5 equivalent that much better. The new way classes are represented seem like they will lend themselves quite nicely to an OO approach. I love the new string interpolation, having defaults, and the function arrows. I am not sure if this was or was not in ES5 but 'let' is pretty dope in terms of scope. I can't tell yet if I will jump to using 'sets' as my first instinct when needing a collection, however the added methods you get to use in combination with a set seem interesting.
/1602-es6-assignment.markdown Secret
Last active
July 3, 2016 20:51
-
-
Save GKhalsa/2434fbfdc28ca3f2ee2de72d3bf64b42 to your computer and use it in GitHub Desktop.
ES6 Assignment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment