title: How to skip to next in javascript in a for-in with a while inside?
body: <p>I have a short javascript code where I need to skip to next in the for loop....see below:</p>
  
  <pre><code>var y = new Array ('1', '2', '3', '4');
  for (var x in y) {
     callFunctionOne(y[x]);
     while (condition){
         condition = callFunctionTwo(y[x]);
         //now want to move to the next item so 
         // invoke callFunctionTwo() again...
     }
  }
  </code></pre>
  
  <p>Wanted to keep it simple so syntax may be error free.</p>