Выберите случайный элемент из массива элементов

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