title: Create array of n items based on integer value
body: <p>Given I have an integer value of, e.g., <code>10</code>. </p>
  
  <p>How can I create an array of 10 elements like <code>[1,2,3,4,5,6,7,8,9,10]</code>?</p>