javascript random words generator simple code example
Example: js random word generator
var word = ['Rock', 'Paper', 'Scissor'];
var words = word[Math.floor(Math.random()*word.length)];
alert('The computer chose:' + wors);
// Be sure to add more to the string values if you wish to add more words.