New "ES6" Working Draft
allen at wirfs-brock.com
Fri Sep 23 10:21:05 PDT 2011
I have updated the wiki with my latest working draft of the ES.next ("ESA6") spec.
Word and PDF versions are available.
They can be access from http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts
Please report issues using https://bugs.ecmascript.org/enter_bug.cgi?product=Draft%20for%206th%20Edition against the "September 23, 2011 Draft"
Changes in this draft are generally marked with "Rev 3"
The change summary is:
Resolved as fixed bugs 137, 140,167, 177, 183,184,185,186,187,188,189,190,191,193,196,196
Merged multiple built-in “class” branding internal properties into a single [[NativeBrand]] internal property
In 10.2, change environment records so that both mutable and immutable bindings may be in an initialized state and must be initialized before use via InitializeBinding
In 10.5 added separate algorithm for Block declaration instantiation. Block level declaration instantiations now specified. Function and global level still need to be updated to support let and const
Added a Declaration production to the grammar and changed StatementList to include both Statement and Declaration
Added let and const declarations. var declarations still hoist to function level and must not conflict with a let or const.
Hoisting and temporal dead zone for all block scoped declarations
Added semantics for destructuring binding pattern.
Added appropriate lexical scoping for declarations in bodies of switch and try statements. Note that for statements still need work for declarations in for head.
Added initializes for individual property level bindings in destructure binding
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss