Created
November 16, 2019 22:13
-
-
Save luismiddleton/53d6c75dec5812f283a9168a08753868 to your computer and use it in GitHub Desktop.
ENUM - Weekdays (ISO)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Weekday types (ISO). | |
* @enum {number} | |
*/ | |
const Weekday = { | |
MONDAY: 1, | |
TUESDAY: 2, | |
WEDNESDAY: 3, | |
THURSDAY: 4, | |
FRIDAY: 5, | |
SATURDAY: 6, | |
SUNDAY: 7 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment