when to use arrow functions in javascript code example
Example 1: javascript arrow function
let errow = () => {
//the code you want to return;
};
Or
let errow = ('paramiter') => {
//the code you want to return
}
Example 2: javascript arrow function
const welcome = () => {
console.log("THIS IS A ARROW FUNCTION")
}