level 1
obj = {
'year' : 2021,
'month' : 5,
'firstTime' : new Date(this['year'],this['month'])
}
obj = {
'year' : 2021,
'month' : 5,
'firstTime' : new Date(2021,5)
}
这两个的firstTime输出结果不一样,不是日期不一样,而是第第一个的firsttime输出结果为invalid date
求助贴吧内的大佬,希望贴吧内的大佬能够详细的解答一下,现在这里谢过了
2021年05月15日 15点05分
1