var array = [10,2,3,4,5,6,30,8,9]; document.write('max:'); document.write(Math.max.apply(null,array)); document.write('<br>'); document.write('min:'); document.write(Math.min.apply(null,array));
var array = [10,2,3,4,5,6,30,8,9]; document.write('max:'); document.write(Math.max.apply(null,array)); document.write('<br>'); document.write('min:'); document.write(Math.min.apply(null,array));
如果这篇文章对您有帮助,您可以打赏我
技术交流QQ群:15129679