Hi all,

On Fri, Jan 23, 2015 at 7:48 AM, Larry Garfield <la...@garfieldtech.com>
wrote:

> The examples say nothing about mixing types, though.  Eg, what would these
> return:
>
> return 0 <=> "0"
>
> return "" <=> 0
>
> return 1 <=> [1, 2, 3]
>
> Ignoring object property names and going by the order of the property
> definition seems like asking for trouble, too.
>

It should be the same as '===', IMO.
Only the same type should return 0.
Object has the same id should return 0.
Arrays would be matter of discussion.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to