Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
//if this is your callback
var callback = function(error,response){
//code here would only run if error is truthy
//this only runs if !error ==- true
//you can also write that as
var callbackDontCare = function(error,response){
//cone if there isn't an error
handleError(error);//remember to define this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment