objectEntries.js 434 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /* eslint-disable no-redeclare */
  7. // $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441
  8. var objectEntries = Object.entries || function (obj) {
  9. return Object.keys(obj).map(function (key) {
  10. return [key, obj[key]];
  11. });
  12. };
  13. var _default = objectEntries;
  14. exports.default = _default;