arrow function js code example
Example 1: arrow function javascript
const suma = (num1, num2) => num1+num2
console.log(suma(2,3));
//5
Example 2: javascript arrow function
const welcome = () => {
console.log("THIS IS A ARROW FUNCTION")
}
const suma = (num1, num2) => num1+num2
console.log(suma(2,3));
//5
const welcome = () => {
console.log("THIS IS A ARROW FUNCTION")
}