You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'm afraid Number.isInteger isn't in Espruino, but you can fake it with this I believe:

    Number.isInteger = it => isFinite(it) && Math.floor(it) === it;
    
About

Avatar for Gordon @Gordon started