摘要: 描述: 取值是0~6,含义分别是周一到周日,编写函数进行转换。 function dayToWeek(day) { let res = '' if (day 0) { res = '周一' } else if (day 1) { res = '周二' } else if (day 2) { res 阅读全文
posted @ 2020-04-18 12:40 进心进利 阅读(644) 评论(0) 推荐(0) 编辑