Skip to content

Instantly share code, notes, and snippets.

@scottfirestone
Forked from rrgayhart/es6.markdown
Created May 14, 2016 19:45
Show Gist options
  • Save scottfirestone/5c261f9937bac09b57f952a7e42f3507 to your computer and use it in GitHub Desktop.
Save scottfirestone/5c261f9937bac09b57f952a7e42f3507 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?
  • What is Transpilation and how does it relate to ES6?
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,

Resources:

@scottfirestone
Copy link
Author

scottfirestone commented May 14, 2016

  1. What is ES6?
    ES6 is the most recent published verison of ECMAScript since ES5's implementation in 2009. It incorporates a lot of new features and shorthands.
  2. What is Transpilation and how does it relate to ES6?
    Transpilation is the process of inputing ES6 and getting out ES5 which is supported by most-all browsers.
  3. Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous.
    String templating looks like a useful shorthand over the old use of + to constructing strings. I need to get a better handle on how and when to use classes in JavaScript.

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