Hi!
Please help me, guys. I have an array of lenght 3, let's call it "myArray". Now I want to generate 3 numbers with Math.round(Math.random()*2) and put them to myArray but no number should repeat in it. So in case Math.round(Math.random()*2) would generate a number which is already in myArray, it wouldn't put it there, it would generate an other number and compare it with the numbers in array again.
Thank you for any advice or ideas! :)