Ah, okay. But I swear that when I try to use Util.readStorageJSON from interface.html it definitely complains that the function doesn't exist, and I have to use readStorage instead. And in the browser console, autocomplete even shows Util.readStorage but not Util.readStorageJSON.
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.
Ah, okay. But I swear that when I try to use
Util.readStorageJSON
from interface.html it definitely complains that the function doesn't exist, and I have to usereadStorage
instead. And in the browser console, autocomplete even showsUtil.readStorage
but notUtil.readStorageJSON
.