Global

Methods

overrider(object, …sourcesopt) → {object}

Mixes members of all sources into object, handling getters and setters properly.

Any number of sources objects may be given and each is copied in turn.

Parameters:
Name Type Attributes Description
object object

The target object to receive sources.

sources object <optional>
<repeatable>

Object(s) containing members to copy to object. (Omitting is a no-op.)

Returns:

object

Type
object