Hàm lày ngày trong tuần javascript
Hàm lày ngày trong tuần javascript
const getWhatDay = () => {
return new Date().getDay() ? new Date().getDay() : 7
}
console.log(getWhatDay());//3Có thể bạn đã miss một số snippets code
Hàm lày ngày trong tuần javascript
const getWhatDay = () => {
return new Date().getDay() ? new Date().getDay() : 7
}
console.log(getWhatDay());//3Có thể bạn đã miss một số snippets code