-
-
Save qrush/4345987 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
someFunction | |
args: [1, 2, 3] | |
success: () -> | |
console.log "Success!" | |
failure: () -> | |
console.log "Failure!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
someFunction({ | |
args: [1, 2, 3], | |
success: function() { | |
return console.log("Success!"); | |
}, | |
failure: function() { | |
return console.log("Failure!"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment