You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
434 B
15 lines
434 B
import each from './each';
|
|
import isFunction from './is-function';
|
|
var keys = Object.keys
|
|
? function (obj) { return Object.keys(obj); }
|
|
: function (obj) {
|
|
var result = [];
|
|
each(obj, function (value, key) {
|
|
if (!(isFunction(obj) && key === 'prototype')) {
|
|
result.push(key);
|
|
}
|
|
});
|
|
return result;
|
|
};
|
|
export default keys;
|
|
//# sourceMappingURL=keys.js.map
|