js获取数字数组中的最大值

2019-11-13  本文已影响0人  Mr菜头

Math.max.apply(Math,[9,8,7,2]);

Math.max(...[9.8,7,2]);

上一篇 下一篇

猜你喜欢

热点阅读