Is there a way to short and make this function faster, smaller and better?

function rand() {
var r = Math.floor(Math.random()*array.length);
document.getElementById('obj').innerHTML = array[r];
}