RE: [DOM4] Short and Efficent DOM Traversal

From: François REMY [mailto:francois.remy.dev@outlook.com]


> If I'm not mistaken, all it takes for this to work is to add an .iterator() function on the TreeWalker/NodeIterator interface

`.iterator()` is a nonstandard Mozilla-ism; the spec calls for a field named by the well-known unique symbol `@@iterator`.

Received on Sunday, 28 July 2013 18:44:36 UTC