Forum Discussion
TracyParish
7 years agoSuper Hero
Ensuring a Random Number is not Re-picked
This one might be for the javascript experts in the community, but open to all.
I think someone (and it might have been Owen Holt) posted how you can use javascript to create a random variable and...
VirgilSimpelo
Community Member
Owen, thank you for contributing this. It took me a few days to find a solution. I thought splicing the array would help, but it didn't seem to be working and presented a "Nan" variable in my output. I'm sure I did something wrong in my javascript, but you detailed it nicely so that I could understand. Thank you so much!
OwenHolt
4 years agoSuper Hero
Glad you found it useful!