title: In nodeJs is there a way to loop through an array without using array size?
body: <p>Let's say I have </p>
  
  <pre><code>myArray = ['item1', 'item2']
  </code></pre>
  
  <p>I tried </p>
  
  <pre><code>for (var item in myArray) {console.log(item)}
  </code></pre>
  
  <p>It prints
      0
      1</p>
  
  <p>What I wish is to have 
      item1
      item2</p>
  
  <p>Is there any other syntax that works without using </p>
  
  <pre><code>for (var i = 0; i &lt; myArray.length; i++)
  </code></pre>