Keys

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Added parameter description and examples)
m (Added categories)
 
Line 20: Line 20:
* [[values]]
* [[values]]
* [[Command Line API]]
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 00:04, 22 November 2013

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