profileRyan KesPGP keyI build stuffEmailGithubTwitterLast.fmMastodonMatrix

Array.prototype.entries()

Syntax

console.log(Array.from(["a", "b"].entries())) // [ [ 0, 'a' ], [ 1, 'b' ] ]