Keys

From FirebugWiki
Revision as of 17:04, 21 November 2013 by Sebastianz (Talk | contribs) (Added categories)

(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.

Syntax[edit]

keys(object)

Parameters[edit]

object[edit]

Object to return the keys for.

Examples[edit]

keys(myObject)

Lists all the property names of the myObject object.

See also[edit]