I've now made E.getSizeOf a bit more powerful. On latest git builds (and for 1v81), you can do:
E.getSizeOf
>function a(b) { : return function() { : }; :} =function (b) { ... } >E.getSizeOf(a("Something really big")) =12 >E.getSizeOf(a("Something really big"), 1) =[ { "name": "ÿcod", "size": 3 }, { "name": "ÿsco", "size": 8 } ] >E.getSizeOf(a("Something really big"), 2) =[ { "name": "ÿcod", "size": 3 }, { "name": "ÿsco", "size": 8, "more": [ { "name": "b", "size": 4 }, { "name": "return", "size": 2 } ] } ]
@Gordon started
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.
I've now made
E.getSizeOf
a bit more powerful. On latest git builds (and for 1v81), you can do: