Syntax
_.values(object)
values method return all the values of object’s properties.
// Example 1
var result = _.values({one: 1, two : 2, three: 3});
console.log(result);
Output
[ 1, 2, 3 ]
Syntax
_.values(object)
values method return all the values of object’s properties.
// Example 1
var result = _.values({one: 1, two : 2, three: 3});
console.log(result);
Output
[ 1, 2, 3 ]