On Wed, Jul 16, 2008 at 1:16 PM, Allen Wirfs-Brock
<[EMAIL PROTECTED]> wrote:
> -----Original Message-----
> From: Brendan Eich [mailto:[EMAIL PROTECTED]
>

> Right now, the best I can come up with is that it should be a relatively 
> efficient way to test for the existence of a possibly inherited property.

The "in" operator tests for the existence of a possibly inherited property.

var hasProp = (p in o);


Garrett
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to