zufällige Wahl JS -Array

function choose(choices) {
  var index = Math.floor(Math.random() * choices.length);
  return choices[index];
}
Successful Salmon