Skip to content

Instantly share code, notes, and snippets.

@natcl
Created November 12, 2021 22:21
Show Gist options
  • Save natcl/f22b3cd930457d5cde0e914acfc14f96 to your computer and use it in GitHub Desktop.
Save natcl/f22b3cd930457d5cde0e914acfc14f96 to your computer and use it in GitHub Desktop.
const dayToString = {
0: 'Sunday',
1: 'Monday',
2: 'Tuesday',
3: 'Wednesday',
4: 'Thursday',
5: 'Friday',
6: 'Saturday'
}
const monday = dayToString[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment