public static extend()

in Output/GPT4o_0513/JS/contextual_experiment/update_react/1716415650/src/utils.ts [30:40]


  public static extend(...objs: any[]): any {
    const newObj: any = {};
    for (const obj of objs) {
      for (const key in obj) {
        if (obj.hasOwnProperty(key)) {
          newObj[key] = obj[key];
        }
      }
    }
    return newObj;
  }