What is the result of the following code?
function applyFunction(func, value) {
return func(value);
}
console.log(applyFunction(Math.sqrt, 4));
What is the result of the following code?
function applyFunction(func, value) {
return func(value);
}
console.log(applyFunction(Math.sqrt, 4));