Namespace: object

Methods

deepMerge

static

deepMerge(target, source) returns Object

Complete a deep merge of all members of a source object with a target object.

Parameter

target

Object

Target.

Value must not be null.

source

Object

Source.

Value must not be null.

Returns

non-null Object The resulting object.

inherits

static

inherits(childCtor, parentCtor)

Inherit the prototype methods from one constructor into another.

Parameter

childCtor

function()

Child class.

Value must not be null.

parentCtor

function()

Parent class.

Value must not be null.

mixin

static

mixin(target, source)

Copies all the members of a source object to a target object.

Parameter

target

Object

Target.

Value must not be null.

source

Object

Source.

Value must not be null.

values

static

values(obj) returns Array

Returns an array of a given object's own enumerable property values.

Parameter

obj

Object

Object containing values.

Value must not be null.

Returns

non-null Array Array of values.