Re: Custom objects comparison
Mihai Dobrescu <[email protected]> Mon, 9 Jan 2017 11:12:04 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On Monday, January 9, 2017 at 7:45:05 PM UTC+2, Boris Zbarsky wrote: > On 1/9/17 4:52 AM, Mihai Dobrescu wrote: > > Based on what are two objects compared? > > Compared in what sense? > > -Boris Having 2 instances of the same types, each with a private date of the same type, like int32 value of 0 in each, I would need to get true from the javascript comparison (a == b).