New ES6 draft (Rev23) now available
Allen Wirfs-Brock
allen at wirfs-brock.com
Sun Apr 6 11:41:42 PDT 2014
The April 5, 2014 ECMAScript 6 Draft Specification (Rev23) is now available at http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#april_5_2014_draft_rev_23
Changes include:
• Math.clz32 replaces Number.prototype.clz
• for (let;;) loops get a new scope per iteration
• Added [Yield] grammar parameter to ArrowFunction (Bug 2504)
• Added [Yield] grammar parameters for Function/Generator/Class Declarations
• Added [GeneratorParameter]] parameter to ClassExpression
• Clarified that certainly early errors don’t apply when processing parenthesized expression cover grammar bug 2506)
• 11.1.2 clarified the distinction between ES whitespace and Unicode whitespace. Added note that some Unicode white space characters are intentionally
• Fixed Symbol.prototype.toString Symbol.prototype.valueOf to work correctly when this value is a primitive string value
• Lookahead let restrictions added: IterationStatement: for (LeftHandSideExpression of AssignmentExpression)... and for (LeftHandSideExpression in Expression)...
• Lookahead grammar restriction to disambiguate: new super()
• Reverted default for missing class constructor back to “constructor(...args) {super(...args)} because of bug 2491
• Refactored identifier syntax/semantics into IdentiferReference, BindingIdentifier, and LabelIdentifier motivated by need to allow unicode escapes in non-keyword yield identifiers
• Tweaked ordinary call to allocate non-strict mode wrapper objects using callee’s Realm
• Named %Loader%: Reflect.Loader
• Named %Realm%: Reflect.Realm
• Added Reflect.Loader.prototype.@@toStringTag property
• Provide complete algorithmic definition for RegExp.prototype.replace and RegExp.prototype.search
• corrected RegExpExec so it correctly translates the match state of full Unicode RegExps back to UTF-16 capture values and endIndex.
• documented (Annex D) fix to ES5 bug that exposed array updates to integer conversions side-effects
• Typed Array Indexing: All canonical string numeric values considered to be possible indexes rather than expando property keys, eliminated vestigial spec. language for readonly/frozen typed arrays.
• Updated Annex B function in block legacy compatibly hack based upon Jan. meeting concensus
• Updated Function.prototype.toMethod as per Jan. meeting.
• Updated Promises as per Jan. meeting consensus
• Switched to “ize” from secondary British “ise” spelling of “initialize” and other words.
• Resolved bugs: 2598-2597, 2591, 2584-2583, 2581-2578, 2576, 2572-2567, 2563-2562, 2560-2559, 2555, 2552, 2549, 2546, 2525, 2522-2521, 2519-2517, 2515-2514, 2512-2506, 2504, 2501-2500, 2498, 2493-2491, 2489, 2486, 2484, 2482, 2479-2478, 2476-2473, 2471-2469, 2465, 2442-2439, 2435, 2427, 2419-2417, 2415-2413, 2410-2407, 2404-2403, 2398-2395, 2393, 2390, 2370, 2368-2367, 2363-2359, 2352, 2350, 2347, 2343-2342, 2338, 2335, 2331, 2329-2328, 2326-2325, 2322, 2295, 2266, 2256, 2239, 2209, 1910, 1790, 1734, 1483, 1475, 1413-1412, 1263, 1240, 1158, 913, 311, 222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140406/7c9c83a1/attachment-0001.html>
More information about the es-discuss
mailing list