src/Out.js
function invertObject(o) {
  var result = {};
  for (let pair of objectPairs(o)) {
    let [key, val] = pair;
    result[val] = key;
  }
  return result;
}
function invertObject(o) {
  var result = {};
  for (let pair of objectPairs(o)) {
    let [key, val] = pair;
    result[val] = key;
  }
  return result;
}
function invertObject ( o ) { var result = { } ; for ( let pair of objectPairs ( o ) ) { let [ key , val ] = pair ; result [ val ] = key ; } return result ; }
"Invert" an object, swapping keys and values.
Invert an object swapping keys and values .