Imp.environment() documentation error

The forums isn’t the most appropriate place for this but I wasn’t sure if there was a better method… There is a documentation error on the imp.environment() page

if (pinA in hardware) { ... }

should be changed to

if ("pinA" in hardware) { ... } //Notice the quotes around pinA

in order to avoid ERROR: the index ‘pinA’ does not exist errors…

Thanks for the catch - we’ll get that fixed up.