function lenc(m) {
"compiled";
var l = m.length; //length without (), it is not a function
return l;
}
function len() {
var m = "123.456";
console.log(lenc(m)); //add m to call
}
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 allObjects, try this ;-)