title: Why does {a:1} evaluate to 1 in the console
body: <p>I why does the console in Chrome and Firefox evaluate the current to <code>1</code>:</p>
  
  <pre><code>&gt; {a:1}
  1
  </code></pre>
  
  <p>I would guess that it would be evaluated as an object like if you assign it to a variable:</p>
  
  <pre><code>&gt; var a = {a:1}
  undefined
  &gt; a
  Object {a: 1}
  </code></pre>
  
  <p>And with quotes it throws an syntax error:</p>
  
  <pre><code>&gt; {"a":1}
  SyntaxError: Unexpected token :
  </code></pre>