Functions as Conditions and Typeof Reference
<pre><code>var x = 1;
if (function f(){}) {
    x += typeof f;
}
x; //"1number"
</code></pre>

<p>Typeof f has to be a function which gets appended to x and the value should be "1function" how is typeof f a number?</p>
