<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Array对象 </title><script type="text/javascript"> function sort1num(a,b) { return b-a; }var myarr = new Array("80","16","16.5","16.2","100","1");myarr.sort(sort1num);document.write(myarr);</script></head><body></body></html>
添加回答
举报
0/150
提交
取消