declare function arrow notation code example
Example 1: javascript arrow function
const welcome = () => {
console.log("THIS IS A ARROW FUNCTION")
}
Example 2: es6 functions
const add = (n1, n2) => n1 + n2
const welcome = () => {
console.log("THIS IS A ARROW FUNCTION")
}
const add = (n1, n2) => n1 + n2