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