Array.prototype.contains solutions

Boris Zbarsky bzbarsky at
Tue Sep 30 17:15:01 PDT 2014

On 9/30/14, 8:12 PM, John-David Dalton wrote:
> Extending native prototypes is a JavaScript "thing" and something that
> will most likely continue continue.

Note that if people were extending in nice ways, using defineProperty 
and making their props non-enumerable instead of just doing a [[Set]], 
that would significantly reduce issues like this...


More information about the es-discuss mailing list