Direction: Choose the correct option
Q1.
In Express, what determines the order in which middleware functions are executed?
Direction: Choose the correct option
Q2.
What happens if you define a route after a middleware that does not call next()?
Direction: Choose the correct option
Q3.
How do you define error-handling middleware in Express?
Direction: Choose the correct option
Q4.
Where should error-handling middleware be placed in the code?
Direction: Choose the correct option
Q5.
What does calling next(err) do?
