Skip to content

Instantly share code, notes, and snippets.

@gkadillak
Last active January 15, 2018 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gkadillak/6ce81bc651be3f81876656ca0631902e to your computer and use it in GitHub Desktop.
Save gkadillak/6ce81bc651be3f81876656ca0631902e to your computer and use it in GitHub Desktop.
<html lang="en-us">
<body>
<script src="simple_event_loop.js" type="application/javascript"></script>
</body>
</html>
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