Arrow Function in JavaScript
Arrow functions allow us to write shorter function syntax:
let myFunction = (a, b) => a * b
Advantage of arrow functions:
This arrow function reduces lots of code and makes the code more readable.
frontendblogs.hashnode.dev1 min read