wallet-core/node_modules/core-js/modules/es7.object.enumerable-keys.js
2017-05-28 00:40:43 +02:00

12 lines
336 B
JavaScript

// https://github.com/leobalter/object-enumerables
var $export = require('./_export')
, toObject = require('./_to-object');
$export($export.S, 'Object', {
enumerableKeys: function enumerableKeys(O){
var T = toObject(O)
, properties = [];
for(var key in T)properties.push(key);
return properties;
}
});