Difference between revisions of "Values"

From FirebugWiki
Jump to: navigation, search
(Separate Command Line API page for values())
 
m (Added categories)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Returns an array containing the values of all properties of the object.
 
Returns an array containing the values of all properties of the object.
 +
 +
== Syntax ==
 +
<source lang="javascript">
 +
values(object)
 +
</source>
 +
 +
== Parameters ==
 +
=== object ===
 +
Object to return the values for.
 +
 +
== Examples ==
 +
<source lang="javascript">
 +
values(myObject)
 +
</source>
 +
 +
Lists all the property values of the <code>myObject</code> object.
 +
 +
== See also ==
 +
* [[keys]]
 +
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 17:04, 21 November 2013

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

Syntax[edit]

values(object)

Parameters[edit]

object[edit]

Object to return the values for.

Examples[edit]

values(myObject)

Lists all the property values of the myObject object.

See also[edit]