comment faire un tableau d'une valeur de 1 au nombre

[ ...Array(N).keys() ].map( i => i+1);
Outstanding Oystercatcher