It's a bug - I'll file an issue for it. The length of IDs in Espruino is limited - but that should only be for things like function names.
The problem is when Espruino tries to check all of the built-in methods as well.
For now, I'd recommend that you just use in:
in
function foo() { var bar= {"acbdefghijklmnopqrstuvwxyz1234567890":2}; console.log(bar, "acbdefghijklmnopqrstuvwxyz1234567890" in bar); }
@Gordon 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.
It's a bug - I'll file an issue for it. The length of IDs in Espruino is limited - but that should only be for things like function names.
The problem is when Espruino tries to check all of the built-in methods as well.
For now, I'd recommend that you just use
in
: