• It is similar that in version 1v96.43 it does not work...

  • EDIT: Forum update occurred while in edit mode #18 so this entry appears mis-placed #20 #21 #22



    Sun 2019.03.03

    In reply to #18

    I copied the source someES6Test01.js from #12 to the clipboard and uploaded to a Pico running 2v00

    Turn off minification

    >
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v00.103 (c) 2018 G.Williams
    >
    A.asyncFuncA() 59.53073978424
    A.asyncFuncA() 60.53069114685
    B.asyncFuncB() 60.53212070465
    A.asyncFuncA() 61.53070640563
    A.asyncFuncA() 62.53075027465
    B.asyncFuncB() 62.53218650817
    A.asyncFuncA() 63.53072834014
    A.asyncFuncA() 64.53073310852
    B.asyncFuncB() 64.53215503692
    A.asyncFuncA() 65.53074169158
    A.asyncFuncA() 66.53076267242
    
    



    I repeated the test with the second example and got the same results.

    2v00 and 2v01    a-okay

    Conclusion: Everything is just fine... @allObjects BONUS points for both working examples!!



    Attempting to run on 1v94 results in a constructor error (as expected) as this wasn't implemented as of that release.
    From change log: 1v96 Add ES6 classes and 'super'



    I'd reflash to the current version.



    Ahhhh, I see why the reluctance to do so:

    https://github.com/amperka/espruino-modcat

    and/then I'd contact:

    Board: http://amperka.ru/product/iskra-js

    as Amperka boards are not supported

    http://www.espruino.com/Other+Boards
    https://github.com/espruino/Espruino/issues/930

    Consider contributing to Espruino with an authentic board purchase for active support, especially for the amount of time utilized in chasing this issue down. Would have had this working right out of the gate. . . .



    EDIT: Forum update occurred while in edit mode #18 so this entry appears mis-placed #20 #21 #22

About

Avatar for Robin @Robin started