What value is obtained when executing the following code?
function greet(message, format) {
return format(message);
}
console.log(greet("hello", text => text.toUpperCase()));
What value is obtained when executing the following code?
function greet(message, format) {
return format(message);
}
console.log(greet("hello", text => text.toUpperCase()));