Skip to content

Instantly share code, notes, and snippets.

@dtinianow
Forked from anonymous/es6-research.markdown
Last active October 9, 2016 01:35
Show Gist options
  • Save dtinianow/0cff4e150ad79b041504caf119401ff0 to your computer and use it in GitHub Desktop.
Save dtinianow/0cff4e150ad79b041504caf119401ff0 to your computer and use it in GitHub Desktop.
Length Points Week
15 minutes 5 Week 1

ES6 Research

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

Deliverable

  • Fork This Gist
  • Respond in your forked gist with answers to 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
  • You can use the resources below or your own Google-fu

Responses

  • What is ES6?
    • ES6, also known as ECMAScript 6, ECMAScript 2015, and Harmony, is the proper name for JavaScript and represents a specific update to the language
  • What is Transpilation and how does it relate to ES6?
    • Transpilation refers to source-to-source compiling. What this means is that a transpiler will take source code written in one language and convert it to another language at the same level of abstraction. ES6 is not currently compatiable will every browser, and so a transpiler can convert ES6 to a different version of JavaScript
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous
    • Adding the ability to set default parameters in the argument of a function will be extremely useful. It is useful in Ruby and I've used it many times, so I have no doubt it will be useful here as well

Resources

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