UNPKG

506 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var each_1 = require("./each");
4var is_function_1 = require("./is-function");
5var keys = Object.keys ? function (obj) { return Object.keys(obj); } : function (obj) {
6 var result = [];
7 each_1.default(obj, function (value, key) {
8 if (!(is_function_1.default(obj) && key === 'prototype')) {
9 result.push(key);
10 }
11 });
12 return result;
13};
14exports.default = keys;
15//# sourceMappingURL=keys.js.map
\No newline at end of file