Skip to content

Instantly share code, notes, and snippets.

@erinnachen
Created May 11, 2016 14:01
Show Gist options
  • Save erinnachen/dde2b6cbb684c0f9e5e8006a6ba99e3b to your computer and use it in GitHub Desktop.
Save erinnachen/dde2b6cbb684c0f9e5e8006a6ba99e3b to your computer and use it in GitHub Desktop.
Fun things about ES6

What is ES6?

  • ES6 is the newest version of the ECMAScript standard.
  • It is the first major update from the ES5 standard that was written in 2009.
  • Updates to JavaScript implementations are currently underway.

What is Transpilation and how does it relate to ES6?

  • Because ES6 standards have not yet been fully implemented, transpilers are used to translate and compile ES6 to ES5.
  • Babel is a transpiler which by default only translates

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

  • A lot of features seem really nice in ES6.
  • Coming from Ruby, string interpolation is really nice to have, especially for code readability.
  • I like the implementation of generators in the context of JS. Generators make expensive calculations a little more lightweight which is nice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment