Thanks to all of you guys for your fantastic help. Let me first look into the examples and then come back.
Thank you very much for your reply and your nice welcome to the forum.
Yes, I need the unique numbers in the array, like numbers from 1-10 in different order each time an event triggers it, like a left mouse button click, to make it simple.
Develop games in your browser. Powerful, performant & highly capable.
Total Newbie:
I will give a fiver for anyone to tell me how I can
1. get a unique random number from like 1-10
2. create an array unique radom sort
Many thanks for your help.