5 lines
96 B
JavaScript
5 lines
96 B
JavaScript
function sum(num1, num2) {
|
|
return num1 + num2;
|
|
}
|
|
let result = sum(2,3);
|
|
console.log(result); |