I was just digging through some JavaScript code (Raphaël.js) and came across the following line (translated slightly):
Math.min.apply(0, x)
The proper and less confusing way to call this is: Math.min.apply(null, array)
If parameter is unused setting it to null makes code more readable than setting it to 0 or Math
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply