Converts an array of [key, value] pairs to an object. Curried wrapper around Object.fromEntries for composition.
fromEntries([['a', 1], ['b', 2], ['c', 3]]);// => { a: 1, b: 2, c: 3 } Copy
fromEntries([['a', 1], ['b', 2], ['c', 3]]);// => { a: 1, b: 2, c: 3 }
Value type
Array of [key, value] pairs
Object created from entries
Converts an array of [key, value] pairs to an object. Curried wrapper around Object.fromEntries for composition.
Example