I believe it's this one https://github.com/espruino/Espruino/issues/63
Just an idea I didn't test, but how about
if (Object.keys(test).indexOf("bar") !== -1) {...}
Would that make sense?
@graf started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I believe it's this one https://github.com/espruino/Espruino/issues/63
Just an idea I didn't test, but how about
Would that make sense?