I need to generate a random number from 0 to the length of my array. This is my array
var wordList = new Array["duck", "cat", "dog", "carpet", "pants", "computer", "book"];
So basically, choose one of these words. then I need to use that number to select that word and print it out. Any help?