Which of the following arguments are available in an Express JS route handler function?

30. Which of the following arguments are available in an Express JS route handler function?

  1. req - the request object
  2. res - the response object
  3. next
  4. All of the above

Answer: D) All of the above

Explanation:

Following arguments are available in an Express JS route handler function:

  • req - the request object
  • res - the response object
  • next

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.