- From: Han Leon via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Nov 2019 07:51:07 +0000
- To: public-web-nfc@w3.org
Nullable or not is not related to the discussion here around the `undefined` thing. From what I understand, if you try to access an attribute that is not defined in the interface (of course there is neither getter nor setter), you'll just get an exception thrown. (actually in implementation we do not worry about this because V8 binding layer takes the care) But you'll never get `undefined` from an attribute already defined in the WebIDL. And, if you try to get a property that is not yet set in a dictionary, you just get `undefined`. (JS interface and dictionary have much difference) -- GitHub Notification of comment by leonhsl Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/441#issuecomment-552775996 using your GitHub account
Received on Tuesday, 12 November 2019 07:51:08 UTC