Meaning of (a = b) == 0
<p>Just read on Javascript book by David Flanagan this case: </p>

<pre><code>(a = b) == 0
</code></pre>

<p>But I can't see the use of this. Could be like this? </p>

<pre><code>var b = 0;
var a = b;
if (a == 0) ... 
</code></pre>

<p>Thanks</p>