Urara-Blog/node_modules/.pnpm-store/v3/files/1f/cc64973a58bfbaa2f3f0655a6b76295b17fceedc7a56fee1e4754cb057c1236276bfdced65c6ab94ca5bd1238ad0211b0dd342e7a548199073a1e65cea927d
2022-08-14 01:14:53 +08:00

20 lines
490 B
Text

/**
* This function is like
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
* except that it includes inherited enumerable properties.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
*/
function nativeKeysIn(object) {
var result = [];
if (object != null) {
for (var key in Object(object)) {
result.push(key);
}
}
return result;
}
module.exports = nativeKeysIn;