Math.Max.Apply(Math,tmp);
也可以写成
Math.Max.Apply({},tmp);的简写形式
sampleNumList = [1,2,3,4]
var firstMax = Math.max.apply(Math, sampleNumList);//最大值
Math.Max.Apply(Math,tmp);
也可以写成
Math.Max.Apply({},tmp);的简写形式
sampleNumList = [1,2,3,4]
var firstMax = Math.max.apply(Math, sampleNumList);//最大值