title: JavaScript: Push Array with multiple values on same index
body: <p>I have an array that stores me some values like this:</p>
  
  <pre><code>array[0] = "string", "string"
  array[1] = "string", "string"
  array[2] = "string", "string"
  array[3] = "string"
  </code></pre>
  
  <p>As you see sometimes i have 2 values on same index, but sometimes i don't.
  Then i need to push those values to another array, one value by one.</p>
  
  <p>I can't use this:</p>
  
  <pre><code>for(var i= 0; i&lt; 4 ; i++){
      newarray.push(array[i][0]);
      newarray.push(array[i][1]);
  }
  </code></pre>
  
  <p>Otherwise i would push blank values (i guess).</p>
  
  <p>How can i check if i have 2 values on that index or one value, so i can use a different circle?</p>
  
  <p>Thank you!</p>