Steve:
> dont "var" the variable

nutron:
> You should always declare variables with var. Always.

Now I definitely am confused! I am also confused by the apparent
differences (given by stratboy) between:

var mainMenu (when declared in global scope) and
window.mainMenu (declared in any scope)

I thought these were the same...? I've made a test seems to suggest
they are the same: http://paste.mootools.net/f8a0120c

Michal.

Reply via email to