-The constructor method is a special method for creating and initializing an object created within a class.

-There can be only one special method with the name “constructor” in a class. Having more than one occurrence of a constructor method .

-A constructor can use the super keyword to call the constructor of a parent class.

-If you do not specify a constructor method, a default constructor is used.

forexample:

constructor(…args) { super(…args); }