On 2014/01/08 18:58:01, sof wrote:
On 2014/01/08 18:54:43, arv wrote:
> This does not look correct to me. Symbol should behave like Number, String
and
> Boolean with the exception of Symbol.prototype[Symbol.toPrimitive]
>

To quote from 19.4.1


https://people.mozilla.org/%7Ejorendorff/es6-draft.html#sec-symbol-constructor

"The Symbol constructor is the %Symbol% intrinsic object and the initial value
of the Symbol property of the global object."

Symbol doesn't refer to Symbol the primitive type, but the Symbol constructor.
That's the reading this CL is based on.

Yes, the global Symbol is a Function object (constructor). Just like the global
Number is a Function object.

https://codereview.chromium.org/118553003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to