title: Parsing through Array of multidimensional arrays JS and logging the indecies
body: <p>I have three multidimensional arrays. The function findIndex, will go through one of the arrays, if I set the last line to findIndex(arrayTwo), and spit out the item and index variable telling me where the variable idName is.</p>
  
  <p>Example: if I call findIndex(arrayTwo), it will console log item: 2 | index: 1
  <a href="http://jsfiddle.net/vap03jfL/" rel="nofollow">http://jsfiddle.net/vap03jfL/</a></p>
  
  <p>The problem is that when i run the function findIndex(arrayCombine) it will only search through the first two levels of the new array set. I know I need to search one level deeper and return a value for the now top most array, but I haven't found what I need.  I have also read that the way I am doing this may not be the best. to begin with.</p>
  
  <pre><code>var arrayOne = [
      ["a", "b", "c", "d"],
      ["e", "f", "g", "h"],
      ["i", "j", "k", "l"],
      ["m", "n", "o", "p"]
  ];
  
  var arrayTwo = [
      ["Z1", "Y1", "X2", "W2"],
      ["V2", "U3", "T3", "S3"],
      ["R3", "Q3", "P3", "O3"],
      ["N4", "M2", "L2", "K2"]
  ];
  
  var arrayThree = [
      ["Z", "Y", "X", "W"],
      ["V", "U", "T", "S"],
      ["R", "Q", "P", "O"],
      ["N", "M", "L", "K"]
  ];
  
  var arrayCombine = [
      [arrayOne],
      [arrayTwo],
      [arrayThree]
  ]
  
  
  function findIndex(arrayArg) {
      idName = "Q3";
  
      for (var item in arrayArg) {
          console.log("item: " + item);
          if (arrayArg[item].indexOf(idName)) {
              var index = arrayArg[item].indexOf(idName);
              console.log("index: " + index);
              if (index != -1) {
                  console.log("item found: " + item);
                  console.log("index found: " + index);
                  break;
              }
          }
      }
  }
  
  findIndex(arrayCombine);
  </code></pre>
  
  <p>Any help would be greatly appreciated.
  Thank you.</p>