brendan at mozilla.com
Thu Jan 16 07:55:41 PST 2014
On Jan 16, 2014, at 7:38 AM, Kevin Smith <zenparsing at gmail.com> wrote:
>>> What's the method for determining whether we run the multimethod dispatch algorithm versus the ES6 abstract equality algorithm?
>> One or both operands value objects.
> Gotcha. One more, I think.
> int64(0) === 0L
> I assume that int64 is not defined as a composition of primitives or value objects. How do we know the above to be true? Are they somehow the same (value) object reference?
Value objects have value, not reference, semantics. JS has string number boolean already (note lowercase names). With value objects, users and the host env can define others.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss