x/rambda/src/fromPairs.js
1234567export function fromPairs(listOfPairs) { const toReturn = {} listOfPairs.forEach(([prop, value]) => (toReturn[prop] = value)) return toReturn}