Object.is steps are very thing

Brendan Eich brendan at mozilla.com
Sat Mar 16 19:40:45 PDT 2013

Allen Wirfs-Brock wrote:
> On Mar 16, 2013, at 5:02 PM, Tom Schuster wrote:
>> Also note that with the current definition Object.is() should return
>> true. I am not really a big fan of that ;)
> All standard function have a well specified, but perhaps odd, behavior when no arguments are passed to them.  It's just how JavaScript works.  Better to have a simple rule to learn than dozens of exceptions.

Object.is() // true

It has a nice existentialist ring to it!


More information about the es-discuss mailing list