JavaScript has 2 types of functions: Regular Function and Arrow Function.
Arrow function is simpler and were introduced in ES6(EcmaScript 6) in 2015.
I just like using this syntax:
const ArrowFunction = () =>{
console.log(“I like arrow function);
}
I adore 🤩