When to use equality ("==") instead of identity ("===")?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/359494/javascript-vs-does-it-matter-which-equal-operator-i-use">Javascript === vs == : Does it matter which &ldquo;equal&rdquo; operator I use?</a>  </p>
</blockquote>



<p>Many recommend using <code>===</code> for comparison everywhere in your JavaScript instead of <code>==</code>, and it sounds reasonable. </p>

<p>I was wondering are there any situations where using <code>==</code> would be actually beneficial over <code>===</code>?</p>
