process.on('uncaughtException', function(err) {
console.log('!!!UNCAUGHTEXCEPTION!!!',err);
});
const arr= new Uint32Array([1,2,3,4]); // or any other ArrayView
console.log('test E...');
if (!E.xyz) console.log('E ok'); // works as expected
console.log('test arr...');
if (!arr.xyz) console.log('arr ok'); // throws exception - not as expected
console.log('done all ok');
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.
just a "picture" without words;)
EspruinoWIFI 1v96