I need to draw 16 numbers and store them in an array, but there can be no repeated numbers. Follow the code.
var numero = [];
function numero_aleatorio () {
for(i=0;i<16;i++) {
numero.push(Math.floor((Math.random() * 16) + 1));
}
}
numero_aleatorio();