Skip to content

Instantly share code, notes, and snippets.

@jwashke
Forked from rrgayhart/1602-es6-assignment.markdown
Last active July 4, 2016 22:13
Show Gist options
  • Save jwashke/3c6870d4b5d86e2e585dc8da3fda281a to your computer and use it in GitHub Desktop.
Save jwashke/3c6870d4b5d86e2e585dc8da3fda281a to your computer and use it in GitHub Desktop.
ES6 Assignment

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 the latest version of the javascript languages. It adds a lot of features not present in ES5 that makes it feel like a real programming language.

What is Transpilation and how does it relate to ES6?

Transpiling is taking source code written in some language (or in ES6 case, version of a language) and converting it to code of a similar language. ES6 can be transpiled to ES5 code to avoid compatibility issues with browsers that don't support ES6

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

Classes is the big update in ES6 that I want to start using right away. I Tried to do Idea box object oriented and it was a pain and weird to deal with creating a prototype for objects. Ruby like default params in functions is also very nice to have.

Resources:

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