Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kamiboers/34c6aa332ec4bc49cbcb6152ffd79e57 to your computer and use it in GitHub Desktop.
Save kamiboers/34c6aa332ec4bc49cbcb6152ffd79e57 to your computer and use it in GitHub Desktop.
ES6 Assignment
  • What is ES6?

ECMAScript is the proper name for JavaScript, and ES6 is the newest version of the language.

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

Transpilation is the conversion of code from one version or language to another at a similar level of abstraction, and it is relevant to ES6 because browsers do not immediately transition to new versions of code, and ES6 will have to be transpiled to ES5 in order to work in current browser versions.

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

The addition of classes, string interpolation, and default values for functions mainly just seems to condense and clarify syntax, but I think that it makes the code more readable and less redundant. I think that default values being passed in is especially useful, but clearly I'm biased by having first learned to program in Ruby.

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