Question 11 of 5819%
11
Does the following snippet illustrate an Immediately-Invoked Function Expression (IIFE), a Higher-Order Function (HOF), both, or neither?
((fn, val) => {
return fn(val);
})(console.log, 5);
11/58
((fn, val) => {
return fn(val);
})(console.log, 5);