***SPAM*** Object.prototype.equals

Jason Orendorff jason.orendorff at gmail.com
Fri Jul 13 18:34:18 PDT 2007

On 7/13/07, Garrett <dhtmlkitchen at gmail.com> wrote:
> For collections, it would be very useful to have a natively-supported
> equals() method.

ECMAScript 4 has operator overloading.  You can just override the == operator.

> It would also be very useful to have native collections. Object and Array
> are limited.

What limitations are you referring to?

ECMAScript 4 adds new Array methods, a new "for each" statement, and
probably a standard Dictionary class.


More information about the Es4-discuss mailing list