What does javascript function return in the absence of a return statement?
<p>I was just wondering, does a function without a return statement (or without hitting any return statements) return a value that is completely equivalent to false?</p>

<p>For example:</p>

<pre><code>function foo(){};
!!foo();
</code></pre>

<p>This should return false if executed in firebug (but does not return anything if i just called foo();). </p>

<p>Thanks a lot!</p>

<p>Jason</p>
