function shuffle2(a){
var alen = a.length;
var i = 0;
var temp;
while(alen > i){
var c = Math.floor(Math.random()*alen);
temp = a[c];
a[c] = a[i];
a[i] = temp;
i++;
}
return a;
}
1 comment:
Anonymous
said...
You are either JavaScripted or Python'd. If I any one could tell me why?
1 comment:
You are either JavaScripted or Python'd. If I any one could tell me why?
Post a Comment