Code: Select all
function add(a, b) {
return a + b;
}
const res = add(5, 10);
console.log(res);
How do I get 15 in "the result"?
What am I missing?
Code: Select all
function add(a, b) {
return a + b;
}
const res = add(5, 10);
console.log(res);