📜  如何在javascript代码示例中编写一个程序来提醒当天的前3个字母

📅  最后修改于: 2022-03-11 15:02:38.481000             🧑  作者: Mango

代码示例1
var currentDay = new Date();
currentDay.toString;
var b = currentDay.toString();
var c = b.slice(0,3);
document.write("Today is " + c);