Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
List all key-value pairs.
Similar: randomEntry, entries, hasEntry. Similar: keys, values, entries.
function entries(x) // x: a map
const map = require('extra-map'); var x = new Map([['a', 1], ['b', 2], ['c', 3]]); [...map.entries(x)]; // → [ [ 'a', 1 ], [ 'b', 2 ], [ 'c', 3 ] ]
There was an error while loading. Please reload this page.