数组随机排序

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

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