javascript一些常用代码块
Array.prototype.max =
function
(){
return
Math.max.apply({},
this
)
}
Array.prototype.min =
function
(){
return
Math.min.apply({},
this
)
}
Array.prototype.max =
function
(){
return
Math.max.apply({},
this
)
}
Array.prototype.min =
function
(){
return
Math.min.apply({},
this
)
}