continue loop within a function, if statement, function, and if statement (javascript)

18 views Asked by At

I'm in a complicated situation in Node.js:

HOME: WHILE (TRUE):
    AWAIT INQUIRER.PROMPT(...)
    .THEN(FUNCTION(...):
        IF ...
        ELIF:
            AWAIT INQUIRER.PROMPT(...)
            .THEN(FUNCTION(...):
                IF:
                    CONTINUE HOME // ?!
                ENDIF
            END
        ENDIF
     END
END

Using simple continue didn't work, or continue with label. goto with label didn't work.

0

There are 0 answers