Keys

From FirebugWiki

Revision as of 00:04, 22 November 2013 by Sebastianz (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Contents

[edit] Syntax

keys(object)

[edit] Parameters

[edit] object

Object to return the keys for.

[edit] Examples

keys(myObject)

Lists all the property names of the myObject object.

[edit] See also

Personal tools