Here you can find the source of min()
Array.prototype.min = function() { return Math.min.apply(null, this) }
Array.prototype.min = function(){ return Math.min.apply({},this)
var min = Math.min.apply(null, arr), max = Math.max.apply(null, arr); Array.prototype.min = function() { return Math.min.apply(null, this); };
Array.prototype.min = function () { "use strict"; return Math.min.apply(null, this); };
Array.prototype.min = function() { return Math.min.apply(Math, this); };