News for hackers. Stuff that matters.
Re:ES6 in Depth – Symbols by mrighele on Friday June 12, 2015 @07:35AM (#9705211)
I guess because they do not behave in the same way. In fact new Symbol() is closer to Common Lisp's (gensym) than regular :symbol, since everytime you call it you get something unique.

In particular object[:symbol] would behave quite differently (and would be probably worthless since everytime you would access a new property ).

It would make more sense to have :symbol a shortcut for Symbol.for("symbol") instead, but I don't think it would be that much useful.

There are no comments on this comment yet.