How to Create an Array from 1 to N in JavaScript | CodeTrail