-
Tue 2020.02.04
Is the arrow function syntax in L6 within post #5 correct?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
https://stackoverflow.com/questions/51416486/why-cant-we-create-prototypes-using-es6-arrow-functions
'It works in the emulator but not on Bangle'
Would you please create a working example, such as what developer johanbove did here:
as we then could perform edits within your example. . . .
Some hints when starting with the Web IDE Emulator for Bangle.js
Now test with this code :
It works in the emulator but not on Bangle, only the first line is drawn and an error message appear on console ( see screen copy )
I have tested on Pico with this similar code :
same problem , with this message error :
(test are made without minification)
Strange !