Skip to content

Instantly share code, notes, and snippets.

@natevenn
Forked from rrgayhart/es6.markdown
Last active May 16, 2016 03:26
Show Gist options
  • Save natevenn/a3a3639ccd2e56d2d377e5a1f3d15496 to your computer and use it in GitHub Desktop.
Save natevenn/a3a3639ccd2e56d2d377e5a1f3d15496 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?
    • ES6 is "ECMAScript6" which is the newest iteration of ECMAScript language we call JavaScript.
  • What is Transpilation and how does it relate to ES6?
    • Transpilation takes ES6 code and give you back ES5 code. Most browsers today are by default only compatible with ES5 code. But there are tools that allow developers to write ES6 code and then convert it to ES5 so that it runs on all browsers.
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,
    • Module loading seems like a great advantage with ES6. You get compile time errors if you try to import something that has not been exported and you get compile time errors if you try to import something that has not been exported.

Resources:

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