title: The "unexpected ++" error in jslint
body: <p>What <strong><em>is</em></strong> the best practice for that then?</p>
  
  <p>Jslint explains that it "adds confusion". I don't see it really...</p>
  
  <p>EDIT: The code, as requested:</p>
  
  <pre><code>  var all,l,elements,e;
    all = inElement.getElementsByTagName('*');
    l = all.length;
    elements = [];
    for (e = 0; e &lt; l; (e++))
    {
      if (findIn)
      {
          if (all[e].className.indexOf(className) &gt; 0)
          {
              elements[elements.length] = all[e];
          }
      } else {
          if (all[e].className === className)
          {
              elements[elements.length] = all[e];
          }
      }
    }
  </code></pre>