You are viewing a single comment's thread. Return to all comments →
Here is a simple solution without using any map or map object.
let dayName = new Date(dateString).toLocaleDateString(undefined, {weekday: "long"}); return dayName;
Seems like cookies are disabled on this browser, please enable them to open this website
Day 6: JavaScript Dates
You are viewing a single comment's thread. Return to all comments →
Here is a simple solution without using any map or map object.