Is it possible to force JavaScript to declare variables before use?
<p>Is it possible, perhaps by using some directive in the JavaScript code, to throw warnings or errors if variables are used without being declared first? </p>

<p>In case that isnt possible, is there perhaps some plugin to force Eclipse (or any other IDE) to detect undeclared variables?</p>
