You are reading a single comment by @Alex and its replies. Click here to read the full conversation.
  • Hi Gordon,

    thank you for the reply :). I've sidestepped the issue for now by using a large random number and toString(36) with it. Is it a better practice in general to check if a key exists with "in" instead of "hasOwnProperty"? Is this both the case for normal javascript as well as espruino?

    Regards,

    Alex

About

Avatar for Alex @Alex started