- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Dec 2018 23:27:58 +0000
- To: public-houdini-archive@w3.org
The JS `Map` object returns undefined from those operations. The spec intentionally matches that behavior. I consider DOM's usage of `null` for similar flagging purposes a legacy mistake; it's a result of Java only having `null`, and so WebIDL (in its early "let's pretend we're writing APIs for both JS and Java" form) naturally defaulted to making `null` easy to use. See <https://github.com/heycam/webidl/issues/60> for further discussion of the more general issue. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/848#issuecomment-448038224 using your GitHub account
Received on Monday, 17 December 2018 23:27:59 UTC