Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sumitasok/ef263e5ea3afcb2cd5955eecbf6e09a4 to your computer and use it in GitHub Desktop.
Save sumitasok/ef263e5ea3afcb2cd5955eecbf6e09a4 to your computer and use it in GitHub Desktop.
why you need break and contibue
for() {
if {
break
} else {
body;
}
}
func () {
for() {
ifElse()
}
}
func ifElse() {
if {
return
}
body;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment