Extend
class methodsExtends an existing class with new methods.
Parameters:prototypeObject
Returns:Object
A key/value pair of all methods that the new class will have.
a new class which inherits the base methods.
Extends an existing class with new methods.
A key/value pair of all methods that the new class will have.
a new class which inherits the base methods.