We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Convert entries to map.
Alternatives: from, from$. Similar: from, fromLists, fromKeys, fromValues.
function from(x) // x: entries
const map = require('extra-map'); var es = [['a', 1], ['b', 2], ['c', 3]]; map.from(es); // → Map(3) { 'a' => 1, 'b' => 2, 'c' => 3 }