Understanding Arrow Functions

Jan Hesters on July 30, 2019

In this tutorial you are going to learn the answers to the questions: "What is an arrow function in JavaScript?" and "How is an arrow function diff... [Read Full]
markdown guide

In the last code snippet maybe it's const inc = add(1); instead of sum?



Thanks for this explanation !

However in chapter 3, I think there is a typo? or maybe I missed a point

countWheels: () => {
return this.wheels;

car.sayWheels(); // undefined //should be --> car.countWheels();


Thank you for spotting that! Fixed it 🤗

code of conduct - report abuse