summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/polyfills/objectEntries.mjs
blob: 72d0c604b9c160d520f0c8fcf25eee3bce16365a (plain)
1
2
3
4
5
6
7
8
9
/* eslint-disable no-redeclare */
// $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441
var objectEntries = Object.entries || function (obj) {
  return Object.keys(obj).map(function (key) {
    return [key, obj[key]];
  });
};

export default objectEntries;