Allen Wirfs-Brock (2013-09-24T19:34:55.000Z)
domenic at domenicdenicola.com (2013-10-01T20:34:47.723Z)
On Sep 24, 2013, at 12:15 PM, André Bargull wrote: > Exotic string and integer indexed objects ( = TypedArray instances) provide custom implementations for [[HasOwnProperty]] for exactly this reason. And because of proxies, a specified call to [[GetOwnProperty]] can't be optimized away unless you're sure you are dealing with an ordinary object. > [[HasProperty]] for ordinary objects also uses [[HasOwnProperty]]. So this needs to be taken into account when searching for performance sensitive calls. and most of those [[HasProperty]] calls in the spec. are abstracted within the HasProperty abstract operation, so that also needs to be taken into account.