applybeginner// ES6 spread is often cleaner than apply:
Math.max(...[1,2,3]) // β 3Modern code often uses spread syntax instead of apply() for array arguments.
apply is a method on Function.prototype, so typeof Function.prototype.apply returns 'function'.
Challenge: Verify that typeof Function.prototype.apply is 'function'.