Prototype-based programming
Prototype-based programming is a style ofobject-oriented programming in whichclasses are not explicitly defined, but rather derived by adding properties and methods to an instance of another class or, less frequently, adding them to an empty object.
In simple words: this type of style allows the creation of anobject without first defining itsclass.
In this article
See also
- Prototype-based programming on Wikipedia