.getValues()

Description

Returns an array containing all the enumerable property values of the object.

Parameters

None.

Usage

obj = {a:1,b:2}
vals = obj.getValues()
// [1,2]

Last updated

Was this helpful?