compile array of numbers code example Example: how to make an array of a value from 1 to the number [ ...Array(N).keys() ].map( i => i+1);