wallet-core/node_modules/core-js/modules/es6.object.keys.js

9 lines
223 B
JavaScript
Raw Normal View History

2016-10-10 03:43:44 +02:00
// 19.1.2.14 Object.keys(O)
2017-05-27 17:36:13 +02:00
var toObject = require('./_to-object')
, $keys = require('./_object-keys');
2016-10-10 03:43:44 +02:00
2017-05-27 17:36:13 +02:00
require('./_object-sap')('keys', function(){
2016-10-10 03:43:44 +02:00
return function keys(it){
return $keys(toObject(it));
};
});