Skip to content

Instantly share code, notes, and snippets.

@jasonpilz
Forked from rrgayhart/es6.markdown
Last active February 3, 2016 16:54
Show Gist options
  • Save jasonpilz/109edd56c6a93c71c197 to your computer and use it in GitHub Desktop.
Save jasonpilz/109edd56c6a93c71c197 to your computer and use it in GitHub Desktop.
ES6 Homework

####What is ES6?

  • ECMAScript 6, is the 6th major release of the ECMAScript language spcification. ECMAScript is the 'proper' name for JavaScript.

####What is Transpilation and how does it relate to ES6?

  • Transpilation the process of converting ES6 code to ES5.

####Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,

  • I like the 'Arrows' syntax update for functions. shortens the code which I think using the 'function' syntax can start looking pretty congested especially with nested functions. I also like the string interpolation using ${} which is more ruby-like. Another thing I like is the addition of variable constants 'const'. This makes the intention behind the variables purpose more obvious.

Resources:

@rrgayhart
Copy link

👍

Minor nitpick: Transpilation is a thing you'll see a lot in software - not just between ES5 and ES6 - good concept to be familiar with :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment