What a strange error in JS formatting of a new object?
<p>My javascript code that produces a syntax error:</p>

<pre><code>var x =
{
  a: 123
};
</code></pre>

<p>The same code without an error:</p>

<pre><code>var x = {
  a: 123
};
</code></pre>

<p>What the heck?</p>
