UNPKG

30-seconds-of-code

Version:
5 lines (3 loc) 285 B
### Prototype-based programming Prototype-based programming is a style of object-oriented programming, where inheritance is based on object delegation, reusing objects that serve as prototypes. Prototype-based programming allows the creation of objects before defining their classes.