JavaScript, how to create an array that sequentially counts till N? : <p>Not sure how exactly to word this, but essentially, I'm trying to write a function that if you input 5, it will return [1, 2, 3, 4, 5], if you input 7, it will return [1, 2, 3, 4, 5, 6, 7] etc etc.</p>

<p>It seems simple but for some reason it's just not clicking for me.</p>
