migrating `let' and `const'

Andreas Rossberg rossberg at google.com
Wed Nov 16 13:23:26 PST 2011


On 16 November 2011 20:03, Brendan Eich <brendan at mozilla.com> wrote:
> On Nov 16, 2011, at 4:18 AM, Erik Corry wrote:
>
>> In <script type=harmony> mode we plan to support the new non-hoisted semantics.
>
> Block-hoisted -- temporal dead zone. Requires a sentinel value still in general. Hope this is not bad news!

Actually, it is almost done. We already fully implement "let" with
temporal dead zone, and will shortly do so for harmony-mode "const" as
well.

/Andreas


More information about the es-discuss mailing list