Last Updated: May 28, 2017
·
346
· Codi

How to get all object values in Javascript

You can use this object-values Javascript component to get all object values.

Example:

values({ a: 1, b: 2, c: 3 }) // => [1, 2, 3]