Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 516 Bytes

values.md

File metadata and controls

32 lines (20 loc) · 516 Bytes

objects.values

values(object)

Values is an alias for Object.values returns an array of all values in an object

Arguments

  1. object (object): input object

Returns

(array): returns an array of all values in an object

Example

const result = objects.values({ hold: 25, your: 19, horses: 4 });
console.log(result);
> [25, 19, 4]