devnull69


Member since 07/01/2011

8 snippets

232 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

devnull69's Recent Snippets



« Prev 1 Next »
The usual way to shuffle an array uses the .sort() method with Math.round(Math.random())-0.5 This solution is highly biased based on the sort algorithm used by the browsers. A sort comparison operation has to fulfill the condition "if a>b then b<a"...
0 35 posted 8 years ago by devnull69
0 139 posted 8 years ago by devnull69
0 58 posted 8 years ago by devnull69
0 62 posted 8 years ago by devnull69
0 53 posted 8 years ago by devnull69
« Prev 1 Next »