数组随机排序

Arr1.sort(function(){return Math.random()>0.5?-1:1;});  

posted @ 2015-08-01 17:29  sunhaikuo  阅读(110)  评论(0)    收藏  举报