![]() |
![]() |
|
|||||||||||||
|
|||||||||||||||
| JavaScript :: Randomizing :: Unique Random Numbers |
| Unique Random Numbers | Hits: 35 |
|
| Description:
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). |
| Resource Specification | |
| Platform(s): | n/a |
| Date Added: | June 22, 2006 |
| Script ID: | 879 |
|
Reviews by Other Users
Average Rating This Year (0.00 out of 5) from 0 reviews Average Rating Last Year (0.00 out of 5) from 0 reviews |
|
|
| Copyright © 2004 ClickitScripts.com. All rights reserved. |