title: Why is there no comparison statement in this javascript 'If... Else...' statement
body: <p>In the following code</p>
  
  <pre><code>var $next =  $active.next().length ? $active.next()
          : $('#slideshow IMG:first');
  </code></pre>
  
  <p>the part '$active.next().length' doesn't seem to compare anything and I don't understand how the condition is determined to be True or False. </p>
  
  <p>Or is it saying that:
  if the various $next is equal to $active.next().length then the condition is true?</p>