blob: 5e13cb09db7109ef8ac332c415aee53aba23546b [file] [log] [blame] [edit]
export function fromPairs(listOfPairs){
const toReturn = {}
listOfPairs.forEach(([ prop, value ]) => toReturn[ prop ] = value)
return toReturn
}