Skip to content

Instantly share code, notes, and snippets.

@solomonhawk
Last active August 29, 2015 14:11
Show Gist options
  • Save solomonhawk/1628b1ce459bba3ad7f0 to your computer and use it in GitHub Desktop.
Save solomonhawk/1628b1ce459bba3ad7f0 to your computer and use it in GitHub Desktop.
return void callback()
function(callback) {
if (someCond) return void callback();
// do things
return "some value";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment