📅  最后修改于: 2022-03-11 15:02:08.632000             🧑  作者: Mango
const WEEK_DAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
const date = new Date();
const literalDayOfWeek = WEEK_DAYS[date.getDay()];