Created
April 3, 2022 18:53
-
-
Save fredgdaley2/d9509cbb7ea5d12e117faff5f46618f5 to your computer and use it in GitHub Desktop.
Create javascript constants
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
const GAME_STATES = Object.freeze({ | |
NOT_STARTED:'Not Started', | |
PLAYING: 'Playing', | |
FINISHED: 'Finished' | |
}) | |
export default GAME_STATES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment