Does next() just goes to the middleware below the one calling it?Exampleapp.get('/example/one', (req, resp, next) => { next(); }); app.get('/another-example/one', (req, resp) => { resp.send('done'); }); app.get('/example/two', (req, resp) => { resp.send('done'); }); In the above example, does next go to /another-example/one or /example/two?
Submitted November 12, 2018 at 11:56PM by eggtart_prince
No comments:
Post a Comment