JavaScript Uzyskaj losowy element z tablicy
var colors = ["red","blue","green","yellow"];
var randomColor = colors[Math.floor(Math.random()*colors.length)]; //pluck a random color
Grepper