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

I was thinking of when you don't have to worry about browsers that return `undefined`.

I don't mind having three states here, I just think it would be nice to be able to do a truthy check. I can buy that people will get comparisons wrong between empty string and undefined, but that is a temporary problem, right?

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

Received on Sunday, 22 November 2015 16:20:59 UTC