Harbs commented on issue #1013:
URL: https://github.com/apache/royale-asjs/issues/1013#issuecomment-747958372


   Tough one.
   
   The ecma spec is that has `hasOwnProperty` does not return true for 
inherited properties. I think the Flash behavior is different. I'm loath to 
just mimic the Flash behavior and ignore the ecma spec.
   
   Possibly we should add a `hasOwnProperty` method to `Language` which either 
uses `for in` (or `Object.keys`) or walks up the hierarchy (not sure which is 
most efficient) and only use that if a compiler option is enabled.
   
   Thoughts?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to