Is it risky to ask for a nonexistent javascript argument?
<p>If I have a function </p>

<pre><code>foo()
</code></pre>

<p>that I call with no arguments most of the time, but one argument in special cases, is </p>

<pre><code>var arg1 = arguments[0];
if (arg1) {
     &lt;special case code&gt;
}
</code></pre>

<p>inside the function a completely safe thing to do?</p>
