Join Eve Porcello for an in-depth discussion in this video Arrow functions and the 'this' scope, part of Learning ECMAScript 6.
We're also going to have a list of actions,…so these are all of the things that Doug does.…We'll use bike, we'll use hike, ski and then we'll use surf.…Great. So we'll separate that by a comma from printActions.…So printActions is going to be this method that we can use…to print all of the things that Doug likes to do.…So, here we're going to use this.actions.forEach.…
So this.actions is going to look…at this objects actions property,…and all of the different items that are in the array.…Now forEach is going to take in a function,…
- What is ECMAScript?
- Transpiling ECMAScript with Babel and Babel-node
- Using the let and const keywords
- Creating strings with template strings
- Enhancing object literals
- Working with ES6 classes and class inheritance
Skill Level Beginner
Q: The Babel API is out of date. How do I proceed with the course?
A: We are updating the course. In the meantime, you can install the babel-cli package and then install the presets that you need to follow along with the tutorials.