The super keyword in JavaScript acts as a reference variable to the parent class . It is mainly used when we want to access a variable, method, or constructor in the base class from the derived class.
The super keyword in JavaScript acts as a reference variable to the parent class . It is mainly used when we want to access a variable, method, or constructor in the base class from the derived class.