Q. What does app.use() do?

A
Defines a route
B
Mounts middleware
C
Sets a variable
D
Starts the server
Solution:

app.use() mounts middleware functions in Express.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!