O'Reilly logo
  • Aem A thinks this is interesting:

This is possible because we've added the middleware function in a row using the app.get() method. It is also worth noticing the order of the middleware functions because it determines which middleware function is executed first.

From

Cover of MEAN Web Development

Note

next() will execute by order