Skip to content

Instantly share code, notes, and snippets.

@kepta
Created February 5, 2018 05:10
Show Gist options
  • Save kepta/54d63a2676bd59a43461e10e27a1cfcb to your computer and use it in GitHub Desktop.
Save kepta/54d63a2676bd59a43461e10e27a1cfcb 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