declare function javascript es6 code example Example: arrow function javascript const suma = (num1, num2) => num1+num2 console.log(suma(2,3)); //5