On Feb 3, 2010, at 12:20 PM, David Herman wrote:
Although it should perhaps not be possible to export a `let' binding; those really are supposed to be purely local.
The issue arises because we do want 'const' bindings to be exportable, and they are supposed to be block-scoped exactly like 'let', but of course written only by initialization (a mandatory syntactic initializer) and not readable in the "temporal dead zone" before the initializer has been evaluated and the const's value set.
/be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss