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...
OwenHolt
6 years agoSuper Hero
Looking at my code and it isn't quite right. I'll need to troubleshoot it a bit longer to make sure it works correctly consistently.
Scott's solution is a good one that I also considered, however my only concern would be that the btoa() method is not supported in IE9 and earlier. If that isn't a concern for your target audience, it is a nice simple and clean solution.