Answers for "add to array from1 to 100"

0

how to make an array of a value from 1 to the number

[ ...Array(N).keys() ].map( i => i+1);
Posted by: Guest on August-19-2020

Code answers related to "add to array from1 to 100"

Code answers related to "Javascript"

Browse Popular Code Answers by Language