flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] value.hasOwnProperty not working, maybe a bug
Date Tue, 10 Jan 2017 19:07:44 GMT
On 1/10/17, 10:42 AM, "Josh Tynjala" <joshtynjala@gmail.com> wrote:

>I don't know about Carlos, but I use hasOwnProperty() in ActionScript to
>see if a property exists at all. It's never made a difference to me
>whether
>it's been added dynamically to an object or if it was defined as a member
>of a class. I only care whether it's there or not.

Hmm. If the compiler re-coded hasOwnProperty to "in" calls, would that be
a solution?

-Alex


Mime
View raw message