• Works as designed and implemented... AND as documented on page https://www.espruino.com/Compilation :

    JavaScript Compilation

    • ...
    • What works and what doesn't?
      • Works
        • ...
      • Doesn't Work
        • Creating objects with new
        • ...

    New is not implemented for various reasons...

About

Avatar for allObjects @allObjects started