What is the result of the following code?
function executeOperation(a, b, operation) {
return operation(a, b);
}
console.log(executeOperation(2, 3, (x, y) => x + y));
What is the result of the following code?
function executeOperation(a, b, operation) {
return operation(a, b);
}
console.log(executeOperation(2, 3, (x, y) => x + y));