My code is using and unique ID for messages that is randomly generated (say: acbdefghijklmnopqrstuvwxyz1234567890). If I put those IDs in an object and run hasOwnProperty on the object to look for the ID, it returns a WARNING: jsvGetString Overflowed.
this example shows the bug:
function foo() {
var bar= {"acbdefghijklmnopqrstuvwxyz1234567890":2};
console.log(bar, bar.hasOwnProperty("acbdefghijklmnopqrstuvwxyz1234567890"));
}
function onInit() {
foo();
}
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.
Hi All,
My code is using and unique ID for messages that is randomly generated (say: acbdefghijklmnopqrstuvwxyz1234567890). If I put those IDs in an object and run hasOwnProperty on the object to look for the ID, it returns a WARNING: jsvGetString Overflowed.
this example shows the bug:
Is this a bug or a limitation of the hardware?
Regards,
Alex