Commande de plage dans 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);
}