↑ arvau

MDN / Prototype-based programming

Prototype-based programming is a style of in which 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 an without first defining its .

See also