Comando Range em JS
function range(start, end) {
return (new Array(end - start + 1)).fill(undefined).map((_, i) => i + start);
}
Terrible Tuatara
function range(start, end) {
return (new Array(end - start + 1)).fill(undefined).map((_, i) => i + start);
}