Junior JavaScript

What is an arrow function?

Arrow functions are a shorter syntax for writing functions. They don’t have their own

this.

Example:

const sum = (a, b) => a + b;

Follow me on LinkedIn:

More from JavaScript Tutorial

All questions for this course