Are empty true blocks an idiom in JavaScript?
<p>I just came across code that looks like this:</p>

<pre><code>if (foo == "bar"){}else{
}
</code></pre>

<p>Is there a good reason for someone to write it that way instead of</p>

<pre><code>if (foo != "bar") {
}
</code></pre>

<p>or am I just dealing with a raving lunatic (this is my assumption based on other things in the code).</p>
