Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 186 Bytes

get_weekdays_names.md

File metadata and controls

6 lines (5 loc) · 186 Bytes

Get weekdays names

Array.from({length: 7}, (x, index) => (new Date(0, 0, index).toLocalseDateString('en-US', {weekday: 'long'})));
// ['Sunday', 'Monday', ... , 'Saturday']