Created
November 9, 2016 05:07
-
-
Save ayushgp/b7ef343730aad82ce791861682eda02a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function logFirst(req, res, next){ | |
console.log("First!"); | |
next(); | |
} | |
function logSecond(req, res, next){ | |
console.log("Second!"); | |
next(); | |
} | |
function logThird(req, res, next){ | |
console.log("Third!"); | |
next(); | |
} | |
app.use(logFirst, logSecond, logThird); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment