- Anna has a few videos to show
- Put it into practice
- Share & Discuss
-
What is an ES6?
- ECMAScript 6 (ES6) is the sixth major release of the ECMAScript language specification. ECMAScript is the “proper” name for the language commonly referred to as JavaScript. 1
-
Where can I use this new syntax? Is it supported?
-
Why should I learn it?
- Awesome new features let you bind context (
this
) more easily, write more concisely (no more writingfunction
a hundred million times), handle ansynchronicity (IPromise
hyuk hyuk) more easily, and communicate your intentions to other developers (let
vs.const
for example). Check out this article for some thoughts! - You'll probably see it a lot now if you write any React code, but you'll be seeing a lot of these features in more places as time goes by.
- Awesome new features let you bind context (
- I've included a couple of files written in regular JS for us to practice re-writing in ES6. Let's work on these, then demonstrate and discuss!
- What do we want to learn?
- Who volunteers to research it?