JAVASCRIPT » Randomizing

  Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg

Unique Random Sets

This JavaScript, based on Unique Random Numbers II, picks Unique Random Sets. Here, there are more than one arrays (need not be of same length). First, we pick a number of unique random elements from the first array, numArr1 to form the array pickArr1. Now each element of pickArr1 picks another element from the second array numArr2, which again is unique and random. Thus we form the array pickArr2. Similarly each element of pickArr2 picks unique random elements from numArr3 to form pickArr3.

Free   Version: n/a   Platform(s): All   Updated:  February 15, 2008

Developer: Demo Download  
Rated by: 1 user(s)  
Follow Navioo On Twitter

Submit a resource