Skip to content

Instantly share code, notes, and snippets.

@nook-scheel
Forked from tj/example.js
Created March 17, 2013 15:30
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 nook-scheel/5182047 to your computer and use it in GitHub Desktop.
Save nook-scheel/5182047 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