Created
March 21, 2022 01:19
-
-
Save sunkibaek/253899c2e460b81e18c8a55fc50b7126 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
const arrowFunction = () => { | |
console.log("== Inside of arrowFunction!"); | |
}; | |
const regularFunction = function () { | |
console.log("== Inside of regularFunction!"); | |
}; | |
const main = (firstCallback, secondCallback) => { | |
console.log("== Inside of main!"); | |
firstCallback(); | |
secondCallback(); | |
}; | |
main(arrowFunction, regularFunction); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment