mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-12-01 21:50:32 +00:00
10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
/* 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;
|