Wybierz losowy element z tablicy elementów

var item = items[Math.floor(Math.random()*items.length)];
Confused Caiman