title: Why is 1===1===1 false?
body: <p>In a browser console, entering <code>1===1</code> evaluates to <code>true</code>. Entering <code>1===1===1</code> evaluates to <code>false</code>.</p>
  
  <p>I assume that this is because of the way the statement is evaluated:</p>
  
  <p><code>1 === 1 === 1</code></p>
  
  <p>becomes</p>
  
  <p><code>(1 === 1) === 1</code></p>
  
  <p>which evaluates to</p>
  
  <p><code>true === 1</code></p>
  
  <p>which is <code>false</code>.</p>
  
  <p>Is this correct? If not, what's the real reason for this behaviour?</p>