JavaScript ---------- function pick(names) { var r = Math.floor(Math.random * names.length); for (var i = 0; i < names.length; i++) { if (i >= r) { break; } } return names[i-1]; } alert(pick(["John", "Jeff", "Emma", "Steve", "Julie"])); The gods have spoken, Julie. Don't fight destiny.