es.object.entries.js 296 B

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