function diff(obj1, obj2) {
  return Object.entries(obj1).reduce((acc, [key, val]) => {
    acc[key] = obj2[key] - val;
    return acc;
  }, {});
}
numerical diff between two objects with matching keys
@param {object} obj1
@param {object} obj2