robb33
2/23/2017 - 10:04 PM

Random selection type 1

Random selection type 1

var things = ['Rock', 'Paper', 'Scissor'];
var thing = things[Math.floor(Math.random()*things.length)];
alert('The computer chose:' + thing);