putting an arrow function in an arrow function javascript code example
Example 1: arrow function javascript
// Normal Function in JavaScript
function Welcome(){
console.log("Normal function");
}
// Arrow Function
const Welcome = () => {
console.log("Normal function");
}
Example 2: es6 arrow function
const multiplyES6 = (x, y) => x * y;