Implied string comparison, 0='', but 1='1'
<p>I was debugging something and discovered some strangeness in JavaScript:</p>

<pre><code>alert(1=='') ==&gt; false
alert(0=='') ==&gt; true
alert(-1=='') ==&gt; false
</code></pre>

<p>It would make sense that an implied string comparison that 0 should = '0'. This is true for all non-zero values, but why not for zero?</p>
