Re: Object Model Reformation – elementIn?

Allen Wirfs-Brock allen at wirfs-brock.com
Mon Jan 2 09:39:41 PST 2012


On Jan 1, 2012, at 5:54 AM, Axel Rauschmayer wrote:

> http://wiki.ecmascript.org/doku.php?id=strawman:object_model_reformation
> 
> Currently, there one can override the built-in operators via elementGet (getting via []), elementSet (setting via []) and elementDelete (`delete` operator). Wouldn’t it make sense to also provide elementIn (`in` operator)?

Probably.  It may depend upon how strongly you feel about obsoleting for-in in favor of for-of.

Allen


> 
> -- 
> Dr. Axel Rauschmayer
> axel at rauschma.de
> 
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
> 
> 
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 



More information about the es-discuss mailing list