What value is obtained by executing the following code?
function calculate(a, b, operation) {
return operation(a, b);
}
console.log(calculate(3, 4, (x, y) => x + y));
What value is obtained by executing the following code?
function calculate(a, b, operation) {
return operation(a, b);
}
console.log(calculate(3, 4, (x, y) => x + y));