fillRestaurantHoursHTML(operatingHours = this.restaurant.operating_hours) {
    const hours = document.getElementById('restaurant-hours');
    for (let key in operatingHours) {
      const row = document.createElement('tr');

      const day = document.createElement('td');
      day.innerHTML = key;
      row.appendChild(day);

      const time = document.createElement('td');
      time.innerHTML = operatingHours[key];
      row.appendChild(time);

      hours.appendChild(row);
    }
  }
/**
   * Create restaurant operating hours HTML table and add it to the webpage.
   */
Create restaurant operating hours HTML table and add it to the webpage.
Create restaurant operating hours HTML table and add it to the webpage .
fillRestaurantHoursHTML(operatingHours = this.restaurant.operating_hours) {
    const hours = document.getElementById('restaurant-hours');
    for (let key in operatingHours) {
      const row = document.createElement('tr');
      const day = document.createElement('td');
      day.innerHTML = key;
      row.appendChild(day);
      const time = document.createElement('td');
      time.innerHTML = operatingHours[key];
      row.appendChild(time);
      hours.appendChild(row);
    }
  }
fillRestaurantHoursHTML ( operatingHours = this . restaurant . operating_hours ) { const hours = document . getElementById ( 'restaurant-hours' ) ; for ( let key in operatingHours ) { const row = document . createElement ( 'tr' ) ; const day = document . createElement ( 'td' ) ; day . innerHTML = key ; row . appendChild ( day ) ; const time = document . createElement ( 'td' ) ; time . innerHTML = operatingHours [ key ] ; row . appendChild ( time ) ; hours . appendChild ( row ) ; } }
Create restaurant operating hours HTML table and add it to the webpage.
Create restaurant operating hours HTML table and add it to the webpage .