Why browser is not throwing exception for syntax error?
<p>I accidentally wrote a wrong JavaScript syntax (I think so). </p>

<p>code is </p>

<pre><code>  var temp = {};
    temp.a = 34;
    height:34, //should fail here.
    temp.b = 56;
</code></pre>

<p><a href="http://jsfiddle.net/sdQ5Y/">jsfiddle</a></p>

<p>is syntax is correct?</p>

<p>Thanks.</p>
