文艺青年getDay方法

1 var str = "今天星期" + "日一二三四五六".charAt(new Date().getDay());
2 console.log(str);
原文地址:https://www.cnblogs.com/qzsonline/p/2327298.html