回答編集履歴
1
再帰処理がまずかった
test
CHANGED
@@ -42,11 +42,7 @@
|
|
42
42
|
|
43
43
|
this.setDate (this.getDate () + day);
|
44
44
|
|
45
|
-
if (this.isHoliday)
|
46
|
-
|
47
|
-
this.nextSaleDate ();
|
45
|
+
return this.isHoliday ? this.nextSaleDate () : this;
|
48
|
-
|
49
|
-
return this;
|
50
46
|
|
51
47
|
}
|
52
48
|
|