How can I make a random array with no repeats?
I've been searching around for some answers to this issue, but nothing seems to work when I try to find a solution. What I'm trying to achieve is to make a spinner in Javascript & Adobe Edge that randomly spins on a number , and does not repeat that number again until all numbers have been spinned. I know this should be fairly easy to do for a decent coder, but I'm not that experienced yet. This is what I have so far, but it is unfinished and buggy: var myArray = ['360', '330', '300', '270', '240', '210', '180', '150', '120', '90', '60', '30']; var Spinner1 = sym.$('Spinner1'); Spinner1.click