code: function copyOntoObject(o1, o2) {
    assign(o1, o2);
    keys(o1)
      .filter(key => !(key in o2))
      .forEach(key => (delete o1[key]));
    return o1;
  }
docs: Overwrite a first object entirely with a second one.