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

10 lines
225 B
JavaScript
Raw Normal View History

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