9 ways to level up your JavaScript code
Kameron Tanseli
936

on the last example you are missing a )

Math.max.apply(Math.max, [1,2,3,4,5]) <--

You can also comment about call, which doesn’t take an array

.apply(this, [...])
.call(this, param1, param2, param3, param4...)
Show your support

Clapping shows how much you appreciated Ivan Torres’s story.