Is there EVER a reason to NOT use "var" when initially declaring a Javascript variable?
<p>I already know the difference between using "var" and not using "var" to declare a Javascript variable.  Using "var" ensures that the variable exists as a distinct entity strictly within the local scope of the code block, whereas not using "var" would effectively make the variable global.  I also know that if you declare a variable at the global level, it doesn't matter whether you use "var" or not.</p>

<p>So my question is, is there ever a situation where it would be better to NOT declare a variable using "var"?  </p>

<p>So far, I'm under the impression that it never hurts to always use "var" to declare a variable.  Are there exceptions to this?</p>
