Skip to content

Instantly share code, notes, and snippets.

@tj
Created October 5, 2012 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tj/3842944 to your computer and use it in GitHub Desktop.
Save tj/3842944 to your computer and use it in GitHub Desktop.
function hello(name) {
return function(req, res, next) {
res.send('hello ' + name);
}
}
app.use(hello('tobi'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment