102
Backbone.js Router Constructor
The Backbone.js constructor or initialize method is used to create a new constructor for the router installation.
Syntax:
Parameter explanation:
options: It specifies the value that is passed to initialize function.
Let’s take an example.
See this example: