Why ES6 introduced classes yet `Symbol` not to be used with `new`?
allen at wirfs-brock.com
Mon Aug 15 18:05:42 UTC 2016
> On Aug 14, 2016, at 11:33 PM, Claude Pache <claude.pache at gmail.com> wrote:
> The alternative design would have been to specify symbols as true objects rather than primitives. I recall that that alternative has been considered and discussed during the conception of ES6. You have to dig through the archives in order to find why one design was chosen over the other. The only thing I recall is that it was not a trivial decision.
The "symbols are true objects” approach was fully spec’ed in ES6 drafts before ultimately being abandoned.
As Claude says, the history is all in the archives.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss