[Bug 22391] Sequence or Array

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

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #5 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #4)
> [] as currently specified can't replace NodeList and HTMLCollection because
> those have methods other than [] and .length that are used in the wild...

And live lists seem to tend to sprout new methods anyway, even if they
initially have only [] and .length.

I'm down with killing type[] in favor of just using [ArrayClass] interfaces.

> For a non-live list, a JS Array (if a new copy) or frozen JS Array (if
> shared with other consumers) seems just fine.

Is the frozen-ness something that needs to be indicated in prose?

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

Received on Wednesday, 10 July 2013 20:08:33 UTC