In Express, ______ is used to match any route that has not been matched by earlier routes.
- default
- fallback
- wildcard
- catch-all
In Express.js, a catch-all or wildcard route is used to match any route that has not been matched by earlier routes. This is often used for creating custom error handlers or handling undefined routes.
Loading...
Related Quiz
- Where should you ideally store your static files like images, CSS, and JavaScript in an Express.js project?
- What happens to the Event Loop when the callback queue and the task queue are both not empty?
- In which scenario would denormalization be considered a suitable option for query optimization?
- What is the difference between chaining multiple .then() methods and using multiple await expressions?
- How can LIMIT and OFFSET be used effectively to optimize SQL queries?