Skip to content

Instantly share code, notes, and snippets.

@damwhit
Forked from rrgayhart/es6.markdown
Last active May 17, 2016 03:30
Show Gist options
  • Save damwhit/52026e38b87f4cbd17e3ace02acae194 to your computer and use it in GitHub Desktop.
Save damwhit/52026e38b87f4cbd17e3ace02acae194 to your computer and use it in GitHub Desktop.
es6 - 1510

Fork this gist and answer the following questions:

  • What is ES6?

  • ES6 is the latest version of ECMAScript, which is the standard on which JavaScript is built.

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

  • Transpilation is the process of compiling source code of one language into another language. Since ES6 isn't supported by all browsers a transpiler such as babel is needed to compile it into ES5.

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

  • I think that one of my favorite features of ES6 is the ability to define a class. I love that you can simply define a class with a constructor that is akin to an initialize method in ruby. Also the ability to simply define methods within the class is awesome. Coming from ruby this is much more readable than ES5.

Resources:

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