A new ES6 draft is available

Andreas Rossberg rossberg at google.com
Mon Sep 30 02:48:40 PDT 2013


On 28 September 2013 00:05, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 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
>
> Changes include:
> [...]
>
> Made Symbol a primitive type with a wrapper object named Symbol
> Make new Object(Symbol()) throw a TypeError

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


More information about the es-discuss mailing list