摘要:
var a = ["197-3","161-1","161-5","136-2","122-4","120-0","105-7","90-6","82-8","72-9"]; a.sort(function(a,b){ return a.split('-')[1] - b.split('-')[1]; }); alert(a.join(',')) 阅读全文
posted @ 2011-06-20 16:34
刘卿
阅读(136)
评论(0)
推荐(0)


浙公网安备 33010602011771号