A new ES6 draft is available

Allen Wirfs-Brock allen at wirfs-brock.com
Mon Sep 30 13:36:39 PDT 2013


On Sep 30, 2013, at 1:14 PM, Brendan Eich wrote:

> You shoot, you score.
> 
> This is decisive -- cc'ing Allen.

Already spec'ed to do the wrapping.  See my previous message on this thread.

Allen
> 
> /be
> 
>> Brandon Benvie <mailto:bbenvie at mozilla.com>
>> September 30, 2013 9:52 AM
>> 
>> 
>> Calling Object as a function is currently infallible and I've seen plenty of code that makes this assumption. This should probably not be changed.
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>> 
>> Domenic Denicola <mailto:domenic at domenicdenicola.com>
>> September 30, 2013 4:41 AM
>> From: es-discuss [mailto:es-discuss-bounces at mozilla.org] On Behalf Of
>> 
>> 
>> 
>> I only remember Dave briefly mentioning it as one of the potential ways to get a wrapper object; I don't remember a decision to prohibit it.
>> 
>> On the other hand, this is somewhat attractive, as it prevents getting a symbol wrapper object except inside sloppy-mode methods/accessors added to `Symbol.prototype`, wherein `this` is a wrapper. Which means, unless I missed a case, that in strict mode it is impossible to create a symbol wrapper object.
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>> 
>> Andreas Rossberg <mailto:rossberg at google.com>
>> September 30, 2013 2:48 AM
>> 
>> I can't remember any discussion about Object(Symbol()). Why should it
>> be disallowed?
>> 
>> On the other hand, we agreed the other week on making 'new Symbol' and
>> Symbol.prototype.toString throw. That should address all likely
>> accidents.
>> 
>> /Andreas
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>> 
>> Allen Wirfs-Brock <mailto:allen at wirfs-brock.com>
>> September 27, 2013 3:05 PM
>> This is Rev 19, The Sept. 27 Draft
>> http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#september_27_2013_draft_rev_19 
>> And the HTML is available at http://people.mozilla.org/~jorendorff/es6-draft.html <http://people.mozilla.org/%7Ejorendorff/es6-draft.html>
>> 
>> Changes include:
>> 
>> *
>>    Better internal cross-linking
>> *
>>    Restored NoIn expression productions
>> *
>>    Added NoIn productions for Arrow functions
>> *
>>    Made yield a reserved word
>> *
>>    Corrected TypedArray constructor 22.2.4.1
>> *
>>    Changed branding for DataView to make them more polymorphic with
>>    Typed Arrays WRT buffer access and ArrayBuffer.isVGiew
>> *
>>    Fixed Array.prototype.concat, filter,map, slice, splice result
>>    object construction.
>> *
>>    Changed Array.prototype.concat, filter,map, slice, splice such so
>>    that when result object is an Array instance, it is from the same
>>    Realm as the method.
>> *
>>    Clarified differences between %TypedArray% prototype methods and
>>    corresponding Array prototype
>> *
>>    Renamed [[GetInheritance]] to [[GetPrototypeOf]] and
>>    [[SetInheritance]] to [[SetPrototypeOf]].
>> *
>>    Changed Proxy [[GetPrototypeOf]] invariant so it only applies if
>>    target is not extensible.
>> *
>>    Updated CreateOwnDataProperty to to eliminate the assert that the
>>    property doesn’t exist. Callers may need to check for success.
>> *
>>    Fixed bug in creating result array for %TypedArray% filter
>> *
>>    Added algorithms for Object.assign and Object.mixin
>> *
>>    Added a IteratorStep abstract operation to simply most internal
>>    uses of iterators
>> *
>>    Removed the recently added requirement that Typed Array instances
>>    must be non=extensible
>> *
>>    renamed @@ToPrimitive as @@toPrimitive
>> *
>>    Updated Object.prototype.toString for symbols, Math, and JSON
>> *
>>    Added @@toStringTag methods for Math and JSON
>> *
>>    Made Symbol a primitive type with a wrapper object named Symbol
>> *
>>    Make new Object(Symbol()) throw a TypeError
>> *
>>    Added properties of Symbol containing the well known symbols
>> *
>>    Eliminated destructuring throw for non-existant source properties
>>    without a corresponding initializer
>> *
>>    Renamed Math roundFloat32 → Math.fround
>> *
>>    Math.hypoth is now viadic
>> *
>>    Normalized <CR><LF> and <CR> to <LF> in template strings.
>> *
>>    Eliminated [[HasOwnProperty]] MOP operation
>> *
>>    Must say new DataView(...) to create a new one
>> *
>>    Resolved bugs: 1940-1939, 1937-1930, 1928-1911, 1907-1904, 1899,
>>    1896-1894, 1891, 1889, 1884-1881, 1878-1871, 1867, 1864,
>>    1862-1860, 1857-1856, 1853, 1850-1816, 1812-1810, 1808-1806, 1803,
>>    1606, 1598, 1589, 1153
>> 
>> 
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
> 



More information about the es-discuss mailing list