Skip to content

Instantly share code, notes, and snippets.

@harisrozak
Created October 10, 2016 07:35
Show Gist options
  • Save harisrozak/04be4c48656002193056c1a4bdff9ddc to your computer and use it in GitHub Desktop.
Save harisrozak/04be4c48656002193056c1a4bdff9ddc to your computer and use it in GitHub Desktop.
jQuery break or continue looping
var x = {
...
}
x.each(function(){
if(x == 'break') return false;
else if(x == 'continue') return true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment