Re: [magnetometer] Provide API to access uncalibrated magnetometer values

> 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