Re: [dom] DOMTokenList#toggle: don't treat everything non-undefined as true (#64)

I found this to be a very weird part of the spec as well. I agree with you on the best solution being:

- `undefined` => toggle last state (default behavior)
- any non-undefined falsy value => turn off
- any truthy value => turn on.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/64#issuecomment-135841020

Received on Friday, 28 August 2015 17:37:23 UTC