How to use arrow functions in JavaScript
Arrow functions were first introduced in ES6 (ES2015) in 2015.
While looking cleaner there are some differences when compared to regular functions which may trip you up if you do not understand them.
Here is a guide on how to use arrow functions.