
Arrow functions are a shorter syntax for writing functions introduced in ES6. Instead of function add(a, b) { return a + b; } you write const add = (a, b) => a + b;. They are cleaner for short functions and are the preferred syntax in modern JavaScript. They also handle the this keyword differently than regular functions.
Reference:
TaskLoco™ — The Sticky Note GOAT