Created
February 23, 2022 01:06
-
-
Save ORESoftware/58c42deffa129957cf98c3e767b92979 to your computer and use it in GitHub Desktop.
function declaration order matters Tom! :)
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
function first(){ | |
second(); | |
} | |
first(); | |
function second(){ | |
console.log('the second') | |
} | |
// the above will throw | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment