Clear Aki
Results
3
comments of
Clear Aki
When the date is 31,and calling the setMonths() method.If there are no 31 days this months,then will get the 1st of the next month.
Yeah,I know.But we can avoid this problem like this: ```javascript const d = new Date() d.setDate(1) new Date(d.clone().setMonth(d.getMonth() + i)) ```
能实现,但在无界没有解决内存泄露的问题之前,不要轻易尝试。 现在我满世界找能回收内存的方案