robb33
2/23/2017 - 10:06 PM

random

random

var c="Rock";
var d="Paper";
var e="Scissors";
var thing = window['cde'.charAt(Math.floor(Math.random()*3))];
document.write('The computer chose: ' + thing);

//3 the length of the array