日本の祝日+特定の日で配列を作る関数

/**
   * 祝日+会社の休日から配列Holidaysを作る
   * @param  -
   * @return holidays
   * 年始に稼働させる(getFullYearを使用しているため)
   */
function isHoliday() {
  //Googleカレンダーの日本の祝日を取り込む
  const cal = CalendarApp.getCalendarById('ja.japanese#holiday@group.v.calendar.google.com');
  const fullYear = new Date().getFullYear();
  const [startDate, endDate] = [new Date(fullYear, 0, 1), new Date(fullYear, 11, 31)];
  const events = cal.getEvents(startDate, endDate);
  //格納用の空配列を用意
  const holidays = [];
  for (const value of events) {
    holidays
      .push(
        [value.getTitle(), new Date(value.getStartTime().setHours(8)), new Date(value.getEndTime().setHours(-4))]);
  }
  // 会社の休日を設定
  const companyEvents = [
    new Date(fullYear, 11, 29),
    new Date(fullYear, 11, 30),
    new Date(fullYear, 11, 31),
    new Date(fullYear, 0, 2),
    new Date(fullYear, 0, 3)
  ];
  /* 会社の休みを配列に入れる */
  for (const value of companyEvents) {
    holidays.push(['年末年始休暇', new Date(value.setHours(8)), new Date(value.setHours(20))]);
  }
  return holidays;
}