[Bug 26985] Remove requirement for prose around iterable<> if object has indexed properties

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26985

--- Comment #7 from Boris Zbarsky <bzbarsky@mit.edu> ---
> keys() matching values() is exactly what ECMAScript does too.

Not for arrays, as far as I can tell: [...["abc", "def"].keys()] is [0, 1] but 
[...["abc", "def"].values()] is ["abc", "def"].

At least based on reading the spec.  In actual implementations,
https://esdiscuss.org/topic/array-prototype-values-is-not-web-compat-even-with-unscopables
is a bit of a problem, I guess.  :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Sunday, 18 October 2015 16:22:58 UTC