Comments on Sept Meeting Notes

Rick Waldron waldron.rick at
Mon Sep 30 10:30:42 PDT 2013

On Mon, Sep 30, 2013 at 12:54 PM, Kevin Smith <zenparsing at> wrote:

>> I think all we want here is make HTMLCollection interoperate better
>> with other lists. For new features we moved away from HTMLCollection
>> for the reason you mention.
> What do you think an HTMLCollection @@iterate method should do?  Iterate
> like an array, or like a map?

In Firefox (regular and Nightly), HTMLCollection objects are iterable (with
a the temporary placeholder "iterator" method):

  var collection = document.body.children;
  for (var child of collection) {

This matches my expectation, which is "like an array" in that
HTMLCollection instances are iterables.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list