Şöyle yaparsan işe yarayacaktır;


function goSomewhere() {
var num = Math.floor(Math.random()*urls.length);
window.location = urls[num];
urls.splice(num, 1);
}