You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hmm. Could you try and come up with a really simple bit of code that fails, and stick it on https://github.com/espruino/Espruino/iss­ues ?

    This sort of thing does work though:

    >function a() { return { a : function() { return 42; } } }
    =function () { return { a : function() { return 42; } } }
    >a().a()
    =42
    >a().a(function (val) { }) 
    =42
    

    Good point about the public constants, I'll make sure I think about that.

About

Avatar for Gordon @Gordon started