wallet-core/node_modules/core-js/modules/es7.object.enumerable-values.js

12 lines
343 B
JavaScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
// https://github.com/leobalter/object-enumerables
var $export = require('./_export')
, toObject = require('./_to-object');
$export($export.S, 'Object', {
enumerableValues: function enumerableValues(O){
var T = toObject(O)
, properties = [];
for(var key in T)properties.push(T[key]);
return properties;
}
});