Implement myApply(fn, thisArg, argsArray)
Same idea as myCall, but arguments are passed as a single array instead of individually — a standalone version of fn.apply(thisArg, argsArray). If argsArray is omitted or null, call fn with no arguments.
function sum3(a, b, c) { return this.multiplier * (a + b + c); }
myApply(sum3, { multiplier: 2 }, [1, 2, 3]); // 12