Как сделать массив значения от 1 до числа

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