Direction: Choose the correct option
Q1.
What does app.all() do in Express?
Direction: Choose the correct option
Q2.
What is the purpose of express.Router()?
Direction: Choose the correct option
Q3.
How do you mount a router on a specific path?
Direction: Choose the correct option
Q4.
Given a router defined as const router = express.Router(); and routes like router.get('/profile'), what will be the full path if mounted with app.use('/users', router)?
Direction: Choose the correct option
Q5.
What is a benefit of using express.Router()?
