标签:
var a = [2,3,4,5], c = Math.max.apply(null,a); console.log(c); console.log(Math.max.apply(null,[3,8,44,48])); console.log(Math.max.call(null,3,8,44,48));
从数组中找到最大数
原文地址:http://www.cnblogs.com/xupeiyu/p/4337608.html