title: How to change the value of the index number of an array so that it would start from 1 instead of 0
body: <p>How do i make it so that the index starts with 1 instead of 0. Also how would i make it 1st, 2ed, 3rd etc. in instead on  1 2 3  etc.</p>
  <pre><code>&lt;p id = &quot;array&quot;&gt;&lt;/p&gt;        
      &lt;script&gt;
              var car = [&quot;Nissan Skyline R34 GTR&quot;, &quot;Toyota Supra A80&quot;, &quot;Mazda RX7 FD3S&quot;, &quot;Honda NSX Type R&quot;, &quot;Nissan 240SX&quot;, &quot;Toyoto AE86&quot;, &quot;Subaru Impreza WRX Sti&quot;, &quot;Honda Civic EG6&quot;];
              
              var text = &quot;&quot;;
              car.forEach(script)
              document.getElementById(&quot;array&quot;).innerHTML = text;
              
              function script (value, index, array) {
                text += (&quot;My #&quot; + index + &quot; choice is &quot; + value + &quot;. &lt;br&gt;&quot;);
              }
          &lt;/script&gt;
  </code></pre>