Values
From FirebugWiki
(Difference between revisions)
Sebastianz (Talk | contribs) (Added description of syntax, hint for needing help and linked back to Command Line API) |
Sebastianz (Talk | contribs) (Added parameter description and examples) |
||
| 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. | ||
| Line 7: | Line 5: | ||
values(object) | values(object) | ||
</source> | </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 == | == See also == | ||
| + | * [[keys]] | ||
* [[Command Line API]] | * [[Command Line API]] | ||
Latest revision as of 14:30, 13 July 2012
Returns an array containing the values of all properties of the object.
Contents |
[edit] Syntax
values(object)
[edit] Parameters
[edit] object
Object to return the values for.
[edit] Examples
values(myObject)
Lists all the property values of the myObject object.