Skip to content

Instantly share code, notes, and snippets.

@cheljoh
Forked from rrgayhart/es6.markdown
Last active May 11, 2016 06:10
Show Gist options
  • Save cheljoh/c7327b9d0660a3c90e8fb588cc03b9bd to your computer and use it in GitHub Desktop.
Save cheljoh/c7327b9d0660a3c90e8fb588cc03b9bd to your computer and use it in GitHub Desktop.
es6 - 1510

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 and answer the following questions:

  • What is ES6?
  • ECMAScript is another term for JavaScipt, and ES6 is the latest release. ES6 added new features including more iterators and for/of loops.
  • What is Transpilation and how does it relate to ES6?
  • Transpiling means changing code to another language or version. Some older browsers may require developers to transpile ES6 to ES5. This can be done with Babel.
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,
    • ES6 introduced classes, which is syntactic sugar for object.prototype. Coming from Ruby, I like this change.

Resources:

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