Skip to content

Instantly share code, notes, and snippets.

@kepta
Created February 5, 2018 04:59
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 kepta/98169bd23119895e0b1e8719258a8a77 to your computer and use it in GitHub Desktop.
Save kepta/98169bd23119895e0b1e8719258a8a77 to your computer and use it in GitHub Desktop.
function sayHi() {
var allNames = [];
var emoji = '👋';
return name => {
allNames.push(name);
return emoji + name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment