Last active
January 15, 2018 18:24
-
-
Save gkadillak/6ce81bc651be3f81876656ca0631902e 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
<html lang="en-us"> | |
<body> | |
<script src="simple_event_loop.js" type="application/javascript"></script> | |
</body> | |
</html> |
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 logHello(name) { | |
console.info('Hello,', name); | |
} | |
function callLogger(name) { | |
return logHello(name); | |
} | |
function logName(name) { | |
callLogger('Garrett'); | |
} | |
logName('Garrett'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment