html code:
<div id="register"></div>
Javascript code:
console.log( register );//without even declaring the variable register
it returns <div id="register"></div>
in the console.
Is that a normal behavior? (tested in Chrome and Firefox)
Is it documented somewhere?
Is it part of the ECMAScript specification?