Overriding parent class static methods

We've seen previously that behaviors are not limited to class instances but are also attached to the classes themselves. These static methods can also be overridden by subclasses.

In this recipe, we'll see how to override static 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.