- From: Alexander T. <notifications@github.com>
- Date: Mon, 21 May 2018 18:29:05 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 May 2018 18:29:34 UTC
Based on Chrome, FF implementations `NamedNodeMap` can be iterable(`[Symbol.iterator]`)


```javascript
for (const attr of document.body.attributes) {
console.log(attr);
}
```
however, in the spec, there is no mention about that. For instance [`DOMTokenList`](https://dom.spec.whatwg.org/#interface-domtokenlist) has `iterable<DOMString>`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/648
Received on Monday, 21 May 2018 18:29:34 UTC