Object.eq is ready for discussion

Jürg Lehni lists at scratchdisk.com
Tue Sep 7 02:10:23 PDT 2010


On 7 Sep 2010, at 02:01, Brendan Eich wrote:

> It would following the verg-object-noun-phrase convention, but we have more than one convention.
> 
> Note how isNaN(x) and isFinite(x) are functions taking one parameter. Whereas Object.identical(a, b) tests whether two values *are* identical. Does "is" work still? Could we dodge the issue (as well as the implied preposition "to": isIdenticalTo) by using Jeff's "identical" suggestion?

Maybe one could argue that Object.isIdentical(a, b) is the generic version of non-existing a.isIdentical(b) ?

Juerg



More information about the es-discuss mailing list