Call a Parent Method with super
The class Logger has a log method that returns a prefixed string. In TimestampLogger, override log so it calls the parent's version with
super.log(message) and prepends the string '[10:00] ' to the result.Premium
JavaScript
Console