Try this exercise. Click the correct answer from the options.
What method is used to define routes in an Express.js application?
Click the option that best answers the question.
- router.define()
- app.createRoute()
- express.defineRoute()
- app.get()
What method is used to define routes in an Express.js application?