Calling super methods

Overriding methods is awesome for extending behavior. However, we sometimes want to continue to use behavior from a parent class. This is possible by using the super keyboard to access parent class methods.

In this recipe, we'll see how to use this keyword to access those methods.

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.