Created
June 22, 2021 18:13
-
-
Save Lahirutech/7fa09d0ea476221e06a913ad9c83a486 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function doTogether(firstCallback, secondCallback){ | |
firstCallback(); //execute the first function | |
secondCallback(); //execute the second function | |
console.log('Fullstack Journey'); | |
} | |
function LeanFrontEnd() { | |
console.log('Start with js'); | |
} | |
function LearnBackend() { | |
console.log('start with Node'); | |
} | |
//pass in the callbacks to do them together | |
doTogether(LeanFrontEnd, LearnBackend); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment