[whatwg/dom] "If callback is null, then return." (#480)

https://dom.spec.whatwg.org/commit-snapshots/fba2caf4be29c30e7e03010d5fce240a729e0bed/#interface-eventtarget

> 2. If callback is null, then return\.



[`window.addEventListener('load', undefined);`](https://stackoverflow.com/questions/45157031/cannot-determine-type-of-undefined)

Should `undefined` also be included at 2.?

> 2. If callback is null or undefined, then return\.



-- 
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/480

Received on Tuesday, 18 July 2017 04:17:39 UTC