work.suroh.tk/node_modules/core-js/modules/es7.object.entries.js

10 lines
245 B
JavaScript

// https://github.com/tc39/proposal-object-values-entries
var $export = require('./_export');
var $entries = require('./_object-to-array')(true);
$export($export.S, 'Object', {
entries: function entries(it) {
return $entries(it);
}
});