- From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
- Date: Thu, 08 Apr 2021 15:55:38 +0000
- To: public-device-apis-log@w3.org
> @domenic, wondering if maybe you could provide us with some guidance here? Is there precedence for returning undefined from an IDL attribute in the manner described above? It might be something we then send up to the API design guidelines. No, there's no such precedent. Web platform APIs should use null, not undefined, for this. (Or a similar sentinel value such as positive infinity.) -- GitHub Notification of comment by domenic Please view or discuss this issue at https://github.com/w3c/proximity/issues/44#issuecomment-815941929 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 8 April 2021 15:55:40 UTC