- From: Rick Waldron via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Nov 2016 15:07:07 +0000
- To: public-device-apis-log@w3.org
> I'm surprised people still use instanceof, but that seems like a pretty big foot gun if they do, so I think it makes sense not to use inheritance here. I just assumed he was using `instanceof` to illustrate that `reading` would be an instance of whichever, based on whatever the user set in the `Magnetometer` options. -- GitHub Notification of comment by rwaldron Please view or discuss this issue at https://github.com/w3c/magnetometer/issues/16#issuecomment-260665916 using your GitHub account
Received on Tuesday, 15 November 2016 15:07:13 UTC