Why are arguments in JavaScript not preceded by the var keyword?
<p>This may be a silly question, but why are function arguments in JavaScript not preceded by the var keyword?</p>

<p>Why:</p>

<pre><code>function fooAnything(anything) {
  return 'foo' + anyThing;
}
</code></pre>

<p>And not:</p>

<pre><code>function fooAnything(var anything) {
  return 'foo' + anyThing;
}
</code></pre>

<p>I have a feeling the answer is <code>because that's what the Spec says</code> but still...</p>
