/
githubmirror
/
lodash
Обзор
Документация
Войти
/
githubmirror
/
lodash
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.18.0-amd
_nativeKeysIn.js
23 строки
547 B
John-David Dalton
Bump to v4.14.2.
08 авг 2016, 07:21
08 авг 2016, 07:21
3d3ce09
Код
Авторство
О чём код?
define([], function() { /** * 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; } return nativeKeysIn; });