function extendsObject(...list) {
  const result = { ...list[0] };
  for (let i = 1; i < list.length; i++) {
    const obj = list[i];
    if (obj) {
      Object.keys(obj).forEach((key) => {
        const val = obj[key];
        if (val !== void 0)
          result[key] = val;
      });
    }
  }
  return result;
}

export { extendsObject };
//# sourceMappingURL=extendsObject.mjs.map
