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.
ย
Arrow functions allow us to write shorter function syntax:
let myFunction = (a, b) => a * b
This arrow function reduces lots of code and makes the code more readable.