Below is the extends class code
class Player extends Student {
constructor(roll, name) {
super(roll, name);
this.Player = true;
}
};
Here, super(roll,name); refers to the
(1)None of the options
(2)Constructor of the Child class
(3)Constructor of the Parent Class
(4)Constructor of both the classes