Why ES6 introduced classes yet `Symbol` not to be used with `new`?
joe at trusktr.io
Sun Aug 14 22:31:27 UTC 2016
It seems like `new Symbol()` would be inline with the introduction of
classes. Why was it chosen not to be constructible? Seems like it would
make sense to throw an error on `Symbol()` but not `new Symbol()`. Was it
to save three characters of typing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss