Cómo hacer una matriz de un valor de 1 al número

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