Status: New
Owner: ----
New issue 2764 by [email protected]: Numeric property descriptors
on "window" do not behave properly
http://code.google.com/p/v8/issues/detail?id=2764
Not sure if this is a v8 bug or a Blink bug, but:
```
var key = '42';
window[key] = "wut";
Object.getOwnPropertyNames(window).indexOf(key); // -1 (!)
Object.hasOwnProperty(window, key); // false (!)
Object.keys(window).indexOf(key) !== -1; // true
Object.getOwnPropertyDescriptor(window, key).value; // "wut"
```
If key is changed to 'a42' things improve, although hasOwnProperty still
returns false?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.