Class: Object

Object

new Object()

Native object prototype.

Source:

Methods

<static> getOwnValues(object) → {Array}

Queries object for non-inherited property values and returns a list of them.

Parameters:
Name Type Description
object Object

Item to query for non-inherited property values.

Source:
To Do:
  • Change to instance method.
Returns:

Object's own values.

Type
Array

extend(arguments) → {Object}

Merge contents of one or more objects into this object.

Parameters:
Name Type Argument Description
arguments Object <repeatable>

Objects to merge into this one.

Source:
See:
Returns:

Merge result.

Type
Object

extend(deep, arguments) → {Object}

Recursively merge contents of one or more objects into this object.

Parameters:
Name Type Argument Description
deep Boolean

Recursive flag.

arguments Object <repeatable>

Objects to merge into this one.

Source:
See:
Returns:

Merge result.

Type
Object

renameProperty(keyOld, keyNew) → {Object}

Changes the name of a property.

Parameters:
Name Type Description
keyOld String

Current name of property.

keyNew String

Desired name of property.

Source:
Returns:

Altered object.

Type
Object

toArray() → {Object}

Lists property values of an object. Useful for converting indexed data to a loopable list.

Source:
See:
Returns:

Index of URL components.

Type
Object