Creates a new object from a list key-value pairs. If a key appears in multiple pairs, the rightmost pair is included in the object.
fromPairs([['a', 1], ['b', 2], ['c', 3]]); //=> {a: 1, b: 2, c: 3}
The object made by pairing up keys and values.
keys
values
Generated using TypeDoc
Creates a new object from a list key-value pairs. If a key appears in multiple pairs, the rightmost pair is included in the object.