ne 2:</td><td class="msg">'alert' was used before it was defined.</td></tr><tr><td class="line">Line 3:</td><td class="msg">'console' was used before it was defined.</td></tr></tbody></table></div></div><iframe></iframe></div>
<p>In JSHint and ESLint the "'{a}' was used before it was defined" error (as
opposed to the "'{a}' is not defined" error) is raised when a <strong>reference to an
identifier occurs before the declaration</strong> of that identifier. In the following
example we reference the variable <