Shuffling an Array in JS | kirupa.com


#1

by kirupa | 19 June 2012

Let's say you have an array whose data is the numbers 1 through 8 stored sequentially as visualized below:


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/shuffling_array_js.htm

#2

Thanks a lot for this explanation, it really helped me!!
Keep up the good work!
Regards,
Javi.


#3

Glad you liked it :slight_smile: