Risolto ho aggiunto allo script:

document.getElementById("numeri").innerHTML = rnd.join('-');