Created
November 17, 2016 07:48
-
-
Save DavidHooper/6950b0f1b97ceaa38330e8ea56fd4284 to your computer and use it in GitHub Desktop.
JS Hello World
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 sayHello(word, callback) { | |
callback(word); | |
} | |
sayHello('Hello', function(word) { | |
sayHello(word + ' World', function(word){ | |
sayHello(word + '!', function(word) { | |
console.write(word); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice JS! I see you have opt for the vanilla flavour of JS.