GoScrobble/web/node_modules/core-js/modules/es.object.entries.js

11 lines
282 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
var $ = require('../internals/export');
var $entries = require('../internals/object-to-array').entries;
// `Object.entries` method
// https://tc39.es/ecma262/#sec-object.entries
$({ target: 'Object', stat: true }, {
entries: function entries(O) {
return $entries(O);
}
});