es.object.entries.js 282 B

12345678910
  1. var $ = require('../internals/export');
  2. var $entries = require('../internals/object-to-array').entries;
  3. // `Object.entries` method
  4. // https://tc39.es/ecma262/#sec-object.entries
  5. $({ target: 'Object', stat: true }, {
  6. entries: function entries(O) {
  7. return $entries(O);
  8. }
  9. });