New ES6 draft now available, Rev 16

# Allen Wirfs-Brock (12 years ago)

A new ES6 draft is now available at harmony:specification_drafts This is the Rev 16, July 15, 2013 draft.

Major changes include:

  • Restored MOP internal methods [[IsExtensible]]/[[PreventExtensions]] in place of [[HasIntegery]]/[[SetIntegrity]]
  • Added [[Invoke]] internal method to the MOP. Revised evaluation semantics of function calls (including super calls) to use invoke)
  • Provided full complement of internal methods for Integer Index exotic objects (Typed Array views)
  • Reverted Symbols to being a kind of Exotic object rather than a new primitive type
  • Added computed symbol property definitions eg, [ ] to object literals and class definitions.
  • Updated BNF to support refutable patterns
  • Made trailing ; optional for do-while statements
  • Simplified this binding semantics of Generator functions.
  • Updated Array.from algorithm to include mapping behavior
  • Generalize Array concat to deal with “spreading” array subclasses that may not be exotic arrays
  • Factor common TypedArray method into %TypedArray% abstract “class” as per plan of record.
  • Added of and from factory methods for Typed Arrays
  • Added applicable Array methods to %TypedArrayPrototype% (in some cases, thus stub sections)
  • Made Typed Arrays Iterables with @@iterator, keys, values, entries methods
  • Complete rewrite of DaveView specification.
  • Map and WeakMap constructors try using entries methods before @@iterator method to initialize new instances
  • Added WeakSet
  • Added Reflect.invoke
  • Change from ES5: Object.freeze/seal/preventExensions. on primitives is a now a no-op. isFrozen/isSealed returns true. IsExtensible returns false.
  • Bugs: 1577, 1576, 1573, 1570, 1568-1566, 1564-1562, 1558, 1554, 1551-1549, 1546-1534, 1524, 1520-1476, 1434, 1417, 1405, 1400, 1398, 1396, 1391, 1375, 1365, 1354, 1317, 1315, 1295, 1290, 1283, 1276, 1269, 1265, 1213, 1201, 1196, 1194, 1175, 1146, 1085, 1057, 974, 965, 964, 962, 961, 955, 951, 936, 933, 930, 920, 903, 896, 892, 882, 793, 782, 781, 746, 743, 735, 734, 731-727, 715, 713, 711, 682, 677-675, 377, 313, 158
# Brandon Benvie (12 years ago)

On 7/15/2013 5:52 PM, Allen Wirfs-Brock wrote:

A new ES6 draft is now available at harmony:specification_drafts This is the Rev 16, July 15, 2013 draft.

The bookmarks/index in the PDF versions has a lot of extra cruft in it (1, 1, 1, 1, 1.1, 1.1, 1.1, etc).

# Allen Wirfs-Brock (12 years ago)

I know and it's noted on the wiki. This draft changed how section headings are done and something seems to be confusing the PDF bookmark generation. You just have to ignore them for now.