回答編集履歴
1
再帰処理がまずかった
    
        answer	
    CHANGED
    
    | 
         @@ -20,9 +20,7 @@ 
     | 
|
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
              nextSaleDate (day = 1) {
         
     | 
| 
       22 
22 
     | 
    
         
             
                this.setDate (this.getDate () + day);
         
     | 
| 
       23 
     | 
    
         
            -
                if (this.isHoliday)
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
      
 23 
     | 
    
         
            +
                return this.isHoliday ? this.nextSaleDate () : this;
         
     | 
| 
       25 
     | 
    
         
            -
                return this;
         
     | 
| 
       26 
24 
     | 
    
         
             
              }
         
     | 
| 
       27 
25 
     | 
    
         | 
| 
       28 
26 
     | 
    
         
             
              get string () {
         
     |