You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • Tested on node.js. Outputs 'as' i expected:

    done
    nope

    yep
    yep
    yep
    yep
    yep
    nope

    Can you point me to 'javascript standard' that would backup your expectations?

    https://www.ecma-international.org/publi­cations/files/ECMA-ST/ECMA-262.pdf#page=­169

    A Job is an abstract closure with no parameters that initiates an ECMAScript computation when NO OTHER ECMAScript computation is currently in progress.

    Their implementations MUST conform to the following requirements:
    At some future point in time, when there is NO running execution context and the execution context stack is EMPTY

    |

    Did you try to save it to flash and reboot?

    I will try this later.

About

Avatar for fanoush @fanoush started