title: JS Warning: Expected an assignment or function call and instead saw an expression
body: <p>Why do I get the warning <code>"expected an assignment or function call and instead saw an expression"</code>?</p>
  
  <p>First example</p>
  
  <pre><code>( this._mouseStarted ? this._mouseDrag( event ) : this._mouseUp( event ) );
  </code></pre>
  
  <p>Second example</p>
  
  <pre><code>( this.direction === "down" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) );
  </code></pre>