0

Lets say I have this:

fooArray = ["1", "2", "3", "4", "5", "6"]; 
var val1;
var val2;
var val3;

How can I randomly choose 3 values from fooArray and then have each variable equal one of those 3 values?

Each variable must equal a different value, but that value has to be randomly chosen.

Chizbe Joe
  • 35
  • 1
  • 8

0 Answers0