Hello, in this JavaScript video, I am going to show you the new cool keyword called the super keyword that is introduced in a fix. So as you saw from the method overriding video, if you haven't checked that out, I highly recommend checking out. Now come back after checking that video in there, we know we override the method for cost. And if you override the method, but you still, let's say want the functionality of the parent method as well. So basically, you want the winner from 70 plus some extra, what you can do is use a super super dot the name of the function from the parent class, save that and then for run it I think he says this function is from the vehicle class and says this is the call class and that's coming from this line for common error reload. not common this one, just in case the bike object is completely in us.
It's no longer printed in any of the line. Now, if I say that just a car object calling the vehicle from said this function from the vehicle class, and this is the car class, we've overridden the method as you can see here, but because we've done super, we have invoked the parents instance of that method as well. So that is how you can access the parents method, as well as having a overridden method in the child class. That's it for the Super keyword. If you have any questions, feel free to drop me a message and unusual. I look forward to seeing you in the next video.