Last active
May 3, 2018 07:14
-
-
Save wiyoe/fe3dc5057e6977ae59f61311e38c1b18 to your computer and use it in GitHub Desktop.
Javascript freeze, enumaration constants.
This file contains hidden or 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
| const DaysEnum = {"MONDAY":1, "TUESDAY":2, "WEDNESDAY":3}; | |
| Object.freeze(DaysEnum); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment