Skip to content

Instantly share code, notes, and snippets.

@keldin-coding
Created May 30, 2021 23:34
Show Gist options
  • Save keldin-coding/105e2c61bb0d9547d73b13cbf55c74bd to your computer and use it in GitHub Desktop.
Save keldin-coding/105e2c61bb0d9547d73b13cbf55c74bd to your computer and use it in GitHub Desktop.
function coolCallback(event) {
console.log(event);
}
function iAcceptACallback(callback) {
callback("GOTCHA")
}
iAcceptACallback(coolCallback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment