Search
|  |  |
| Home
> Catalog
> Java & JavaScript
> Randomizing
This JavaScript picks up a number of unique random elements from an array. For example; if you have an array myArray consisting of 10 elements and want to pick 5 unique random elements. Suppose initially myArray[3] is picked randomly, then myArray[3] should not be picked again. If you want to pick 4 numbers, call the function like: pickNums(4).
|
| | Pltaform(s): | | | Created: | 2007-04-24 17:31 | | Saved: | 2007-04-24 17:31 | | License type: | Free to try | | Posted by: | webmaster | | Installation price: |
~$50
|
Total: 0 |
|
|
|
|
|