In app.method(path, handler) method, which parameter is a call back function that is executed when a matching request type is detected on the appropriate route?

8. In app.method(path, handler) method, which parameter is a call back function that is executed when a matching request type is detected on the appropriate route?

  1. Path
  2. Handler

Answer: B) Handler

Explanation:

Handler is a callback function that is executed when a matching request type is detected on the appropriate route.

Comments and Discussions!

Load comments ↻






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