Like Object.values(), but includes non-enumerable properties, analogous to Reflect.ownKeys()
npm install own-valuesLike Object.values(), but includes non-enumerable properties, analogous to Reflect.ownKeys().
Requires Node.js 6.0.0 or above.
``bash`
npm i own-values
The module exports a single function.
obj (object)
An array of the object’s values.
`javascript
const ownValues = require('own-values')
ownValues({key: 'value'}) // ['value']
``
* own-entries: The “entries” version of this module.
* values-array / values-iterator: Returns an array/iterator of the values of an Array, Iterator, Object, Map, Set, or Typed Array.