Created
August 3, 2023 19:35
-
-
Save willie-hung/687a5ef2512323e3233712625d1e75cd to your computer and use it in GitHub Desktop.
post_33
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 firstFunction = () => { | |
console.log("Hello from the first function"); | |
}; | |
const secondFunction = () => { | |
setTimeout(() => { | |
console.log("Hello from the second function"); | |
}, 1000); | |
}; | |
const thirdFunction = () => { | |
console.log("Hello from the third function"); | |
}; | |
firstFunction(); | |
secondFunction(); | |
thirdFunction(); | |
// Output: | |
// Hello from the first function | |
// Hello from the third function | |
// Hello from the second function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment