JavaScript Prototypal inheritance

1 year ago
4

JavaScript uses prototypal inheritance, where objects can inherit properties and methods from other objects. Each object has a prototype, and it can inherit from that prototype.

Loading comments...