Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What happens if an Express middleware does not call next() or send a response?

  1. A The next middleware runs automatically
  2. B The request hangs until the client times out
  3. C Express throws an error
  4. D The server crashes
Answer

The request hangs until the client times out

Control is never passed on, so no response is ever sent. This produces a silent hang rather than a visible error.

All NodeJS MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as