Re: [dom] Change DOMTokenList's add() return value. (#114)

I suppose that works. `classList` would have an empty array? Is the array sorted lexically? Is it `[SameObject]`?

There could be concern that exposing an array opens up for misuse that is not possible with `supports()`, e.g. assuming that the first item is a particular token.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/114#issuecomment-160650056

Received on Monday, 30 November 2015 14:45:44 UTC