Skip to content

Instantly share code, notes, and snippets.

@Claudia108
Forked from rrgayhart/1602-es6-assignment.markdown
Last active July 3, 2016 19:49
Show Gist options
  • Save Claudia108/80de2d3261b44d4d7357ac79f9b10a51 to your computer and use it in GitHub Desktop.
Save Claudia108/80de2d3261b44d4d7357ac79f9b10a51 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 sixth edition of the ECMAScript Language Specification. ECMAScript is one of the world’s most widely used general purpose programming languages, best known as the language embedded in web browsers. It is based on several originating technologies, the most well-known being JavaScript (Netscape) and JScript (Microsoft).
  • What is Transpilation and how does it relate to ES6?
  • Transpilation is the process of compiling a language (in this case JavaScript) written with the latest standards down to a version that works everywhere, called source-to-source compiling. Babel is one of the compilers that make the use of ES6 tools possible.
  • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous,
  • Great, that ES6 finally allows string interpolation in JavaScript with template strings. This will make writing javascript way easier - coming from Ruby. It also makes the code look much cleaner. Concatinating - especially html tags in the js code - is not just not pretty it also takes a lot of detective work to identify where a ' or " needs to be added or removed. I am glad about this feature.

Resources:

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