You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functiongetDateNum(params){lettemp=null;letgetYear=params.getFullYear();letgetMonth=params.getMonth()+1;// new Date(year, month, 0).getDate()temp=newDate(getYear,getMonth,0).getDate();returntemp;}console.log('结果:',getDateNum(newDate()));
第736天 写一个方法根据日期获取当月有多少天
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered: