Answers for "how to make javascript progarm that randomly displayes a word"

1

how to make javascript progarm that randomly displayes a word

//get random value from array
var colors = ["red","blue","green","yellow"];
var randColor = colors[Math.floor(Math.random() * colors.length)];
Posted by: Guest on November-04-2020

Code answers related to "how to make javascript progarm that randomly displayes a word"

Code answers related to "Javascript"

Browse Popular Code Answers by Language