Keys

From FirebugWiki

Revision as of 14:29, 13 July 2012 by Sebastianz (Talk | contribs)
Jump to: navigation, search

Returns an array containing the names of all properties of the object.

Contents

Syntax

keys(object)

Parameters

object

Object to return the keys for.

Examples

keys(myObject)

Lists all the property names of the myObject object.

See also

Personal tools