On Jan 16, 2014, at 7:38 AM, Kevin Smith <[email protected]> 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. /be
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

