Skip to content

Instantly share code, notes, and snippets.

@DavidHooper
Created November 17, 2016 07:48
Show Gist options
  • Save DavidHooper/6950b0f1b97ceaa38330e8ea56fd4284 to your computer and use it in GitHub Desktop.
Save DavidHooper/6950b0f1b97ceaa38330e8ea56fd4284 to your computer and use it in GitHub Desktop.
JS Hello World
function sayHello(word, callback) {
callback(word);
}
sayHello('Hello', function(word) {
sayHello(word + ' World', function(word){
sayHello(word + '!', function(word) {
console.write(word);
});
});
});
@byronmejia
Copy link

Very nice JS! I see you have opt for the vanilla flavour of JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment