Random Number Generator Conflict

Hi, I have this Slide i need to do where a Learner is presented with a Random Number Generator, between 1 and 5.

I have managed to Get the Java Script to give me 5 instances of a Random Number between 1and 5. But what i need now, is how do i set it so that there are NO Conflicting Numbers.

For instance I cannot have Multiple "4" they need to all fall in line to Generate
1 2 3 4 5. In random order.

File attached, could someone just explain what i need to do.

7 Replies