We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Obtain all index-value pairs.
Alternatives: ientries, entries. Similar: keys, values, entries.
function entries(x) // x: an array
const xarray = require('extra-array'); var x = ['A', 'B', 'C']; xarray.entries(x); // → [ [ 0, 'A' ], [ 1, 'B' ], [ 2, 'C' ] ]