Sha256: a05c8a353034b70972415855ce9f67fa4f419659b764e90b8294c009556cd645
Contents?: true
Size: 297 Bytes
Versions: 186
Compression:
Stored size: 297 Bytes
Contents
/** * Gets the keys for an object. * * @return {Array} keys * @api private */ module.exports = Object.keys || function keys (obj){ var arr = []; var has = Object.prototype.hasOwnProperty; for (var i in obj) { if (has.call(obj, i)) { arr.push(i); } } return arr; };
Version data entries
186 entries across 92 versions & 4 rubygems