Skip to content

Continue in loops (Javascript 101) #559

New issue

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

Closed
odsantos opened this issue Oct 3, 2014 · 1 comment
Closed

Continue in loops (Javascript 101) #559

odsantos opened this issue Oct 3, 2014 · 1 comment

Comments

@odsantos
Copy link

odsantos commented Oct 3, 2014

Does Continue have a different effect on loops (not explained in Javascript 101), as in other languages ?
Meaning, the counter is incremented in a For loop, but it isn't in a Do (While) one.

@scottgonzalez
Copy link
Member

I don't really understand the question since do loops don't have counters, just conditions. You can easily test whatever you're curious about though by writing a few lines of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants