I have an array consisting of five values as such:
var myArray = ["Hi", "Hello", "Yes", "No", "10"]
I'm trying to get a value printed on random, so i've added this:
var rand = myArray[Math.floor(Math.random() * myArray.length)];
But I'm unsure on where to put it. Anyone got better ideas on how to figure this one out?