Create variable "__proto__".
It shows on stage but not in variables tab and block:
What's weird: you can assign a value to this variable (with the var library)...
(the variable exists, but it is hidden)
proto is a deprecated internal of some JS implementations
can you repeat that, but in regular English?
oh</span
It happens because normal ({}
) object inherits properties from Object.prototype
and __proto__
is a setter.
fix: If you want to use object as hashmap use var hashmap = {__proto__:null};
or var hashmap = Object.create(null);
instead of var hashmap = {};
.
off topic: where is post preview button?
[scratchblocks]([json v]of ≡::list)[/scratchblocks] is also broken
Oh, well...
Another JSON bug!