Skip to content

Instantly share code, notes, and snippets.

@anxiousmodernman
Last active August 29, 2015 14:12
Show Gist options
  • Save anxiousmodernman/8976cfa170c121560a40 to your computer and use it in GitHub Desktop.
Save anxiousmodernman/8976cfa170c121560a40 to your computer and use it in GitHub Desktop.
Booty had me like example
var _ = require('underscore');
function bootyService(booty) {
return function() {
if (booty.hadMeLike()) {
throw new BootyError('Damn');
}
return null;
}
}
module.exports = bootyService;
@jeffmay
Copy link

jeffmay commented Jan 1, 2015

So if booty.hadMeLike() is falsy, my dick that uses this bootyService would throw a NullPointerException?

@anxiousmodernman
Copy link
Author

@jeffmay be sure to @ me next time I didn't get this important message

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