Skip to content

Instantly share code, notes, and snippets.

@martensonbj
Forked from rrgayhart/es6.markdown
Last active March 23, 2016 18:51
Show Gist options
  • Select an option

  • Save martensonbj/90f25808ab7ba7a8a776 to your computer and use it in GitHub Desktop.

Select an option

Save martensonbj/90f25808ab7ba7a8a776 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.

  • What is ES6?

    • It's the first major facelift for ECMAscript since 2009 (!!).
  • What is Transpilation and how does it relate to ES6?

    • Transpilation (aka source-to-source compiling) is a way to translate the newest JS syntax into something browsers can use even if they are't ready for ES6. Resources like Babel below offer services to input new JS and get translated classic JS back, including JSX syntax for React. SWEET.
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,

    • I'm excited about the string interpolation, and now I understand why I keep seeing "let' and "const" everywhere. Also I'm interested to learn more about how to implement classes. It seems straightforward but I'd imagine I'm missing something complicated. Can't tell what will be superfluous yet because my knowledge of JS in the first place is pretty surface level.

Resources:

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