public static extend()

in Output/Gemini1_0/JS/extracted_code/contextual_experiment/update/utils.ts [22:32]


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