mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
12 lines
384 B
Markdown
12 lines
384 B
Markdown
|
# `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"]]
|
||
|
```
|