That is to say, is this valid:
if (x) {
f();
function f() { doSomething() }
}The same question applies to class declarations. I assume that top level class declarations hoist. (Where is this in the spec?)
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

