Get a random item from a JavaScript array [duplicate] by IT Nursery var items = Array(523, 3452, 334, 31, ..., 5346); How do I get random item from items? 1 13