- What is
ES6
?
-This first major update to JavaScript since 2009. - What is Transpilation and how does it relate to
ES6
?- A transcompiler takes the source code of a program as in input, and converts it to equivalant code in another language as the output. Babel does this for different versions of JavaScript, allowing code written in ES6 to be converted to an older version of JavaScript from a more simple and rugged time, when all of the fancy new features weren't available. Because we must never break the Space Jam website.
- Looking at the ES6 Features link below, discuss one update from
ES5
and if it seems useful/superfluous.- The inclusion of 'let' and 'const' seems useful. The 'let' keywords allows block-scoping of non-hoisted variables. Using the 'const' keyword, you can assign a value much like with 'var', but it cannot be reassigned. These two new features will help prevent scope-related bugs, and provide functionality that most other programming languages already offer.
-
-
Save SteveOscar/2067a30b3d99dc944e38 to your computer and use it in GitHub Desktop.
Steve Olson - es6 - 1510
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment