今天是星期几的4种JS代码写法 第一种写法 复制代码 代码如下:var str = ""; var week = new Date() getDay(); if (week == 0) JavaScript 2022-04-04 65 点赞 0 评论 98 浏览