docs: function merge(object1, object2) {
    if (!object1 || Object.keys(object1).length === 0) {
      return object2;
    }
    if (!object2 || Object.keys(object2).length === 0) {
      return object1;
    }
    return {
      ...object1,
      ...object2
    };
  }