Re: [ambient-light] What illuminance value should be reported for stopped sensor?

> ```js
let als = new AmbientLightSensor();
als.start();
let cachedReading = als.reading;
als.stop();
// ?
console.log(cachedReading.illuminance);
```

> At the moment I've implemented it to return 0.0, is this expected 
behaviour?


My understanding is that `als.reading` is actually still `null`, 
because it won't be updated in the same turn. @tobie unless that's no 
longer the case?


-- 
GitHub Notification of comment by rwaldron
Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/15#issuecomment-257367403 
using your GitHub account

Received on Monday, 31 October 2016 17:50:42 UTC