Question 9 of 5217%
9
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);
9/52
((fn, val) => {
return fn(val);
})(console.log, 5);