阅读背景:

js中如何快速获取数组中的最大值最小值

来源:互联网 
var a=[1,2,3,5];
alert(Math.max.apply(
null, a));//最大值最



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: