Here you can find the source of getRandomItem(items)
var getRandomItem = function(items){ return items[Math.floor(Math.random()*items.length)]; }
function getRandom(items) { var item = items[Math.floor(Math.random() * items.length)]; return item;