let arr = [1, 2, 4, 53]
let max = Math.max.apply(null, arr);
console.log(max)
thisArg
The value of this provided for the call to func.
Note that this may not be the actual value seen by the method: if the method is a function in non-strict mode code, null and undefined will be replaced with the global object, and primitive values will be boxed. This argument is required.
const arr = [1, 2, 4, 53];
const max = Math.max(...arr);
console.log(max);