Arrow  Function in JavaScript

Arrow Function in JavaScript

ยท

1 min read

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.

ย