UNPKG

object-loops

Version:

Functional methods like forEach, map, filter, and other Array methods for Objects in javascript

12 lines (10 loc) 291 B
/** * @module object-loops/keys-in */ /** * Like to `keys`, but includes enumerable keys from the prototype chain. * @function module:object-loops/keys-in * @param {object} [obj] - object to get enumerable keys from * @returns {array} keys */ module.exports = require('101/keys-in')