Hoisting

Javascript 101: Hoisting

What JavaScript does with your declarations before it runs a single line.