title: Do jquery function really chain?
body: <p>I have been told that jquery functions can be chained to each other.</p>
  
  <p>So I was wondering if this code:</p>
  
  <pre><code>if (cDiv.hasClass('step-dark-left'))
      cDiv.removeClass('step-dark-left').addClass('step-light-left');
  </code></pre>
  
  <p>Could be changed by removing the <code>if</code> like so:</p>
  
  <pre><code>cDiv.removeClass('step-dark-left').addClass('step-light-left');
  </code></pre>
  
  <p>So, if <code>.removeClass</code> fails, then <code>.addClass</code> wont execute?</p>