katoikia-app/web-ui/web-react/node_modules/ext/docs/object/entries.md

12 lines
384 B
Markdown
Raw Normal View History

2022-07-06 04:15:11 +00:00
# `Object.entries` _(ext/object/entries)_
[Object.entries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries) implementation.
Returns native `Object.entries` if it's implemented, otherwise library implementation is returned
```javascript
const entries = require("ext/object/entries");
entries({ foo: "bar" }); // [["foo", "bar"]]
```