 have not changed despite changes to the
text of the warning itself.</p>
<h3 id="when-do-i-get-this-error-">When do I get this error?</h3>
<p>The "{a} is already defined" error is thrown when JSLint or JSHint encounters
<strong>a declaration with an identifier that has been used in a previous
declaration</strong>. This applies to both variable and function declarations. However
it only applies when the declarations appear within the scope of a function
rather than the global scope. In the following example 