title: Skip Iteration Google Apps Script
body: <p>I have a very simple For Loop in Google Apps Script to check some conditions in a Google Sheet. What I want is to add another condition, if it is met, then I want to skip current iteration and move on to next. This is pretty easy in VBA, but I am not sure how to do it on JavaScript.</p>
  
  <p>Current code:</p>
  
  <pre><code>for (var i=1 ; i&lt;=LR ; i++)
      {
       if (Val4 == "Yes")
        {
         // Skip current iteration...   &lt;-- This is the bit I am not sure how to do
        }
       elseif (Val1 == "Accepted" &amp;&amp; !(Val2 == "") &amp;&amp; !(Val3 == ""))
        {
          // Do something..
         }
        else
        {
         // Do something else...
        }
  
      }
  </code></pre>