We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for(;;)
function q() { for(;;) { console.log("dsfsdf"); } }
The diagram on the online demo fails to change unless I add loop condition.
The text was updated successfully, but these errors were encountered:
Hey, thanks for the nice catch. Fixed and merged. :)
Sorry, something went wrong.
The first and the third argument of for are also not shown properly. Currently they are just as if they were the statements inside for{} block.
for
for{}
Example program:
function test() { let q = null; for(q=0;q<100;q+=1) { if (q==6) { break; } else { continue; } } }
I expect q=0 to be before the loop and continue pointing at q+=1 (which should be somewhere below) instead just at for.
q=0
continue
q+=1
It should probably internally convert for loops to while loops.
while
Nice, agree. q = 0 definitely should not be on each iteration.
No branches or pull requests
The diagram on the online demo fails to change unless I add loop condition.
The text was updated successfully, but these errors were encountered: