Last active
December 28, 2021 22:46
-
-
Save alexandercerutti/255f35d8a0e87c3432e186bd4529de10 to your computer and use it in GitHub Desktop.
bitwise-article-example-code
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 LOADING = "Loading"; | |
const FAILED = "Failed"; | |
const LOADED = "Loaded"; | |
const PLAYING = "Playing"; | |
const STOPPED = "Stopped"; | |
// or | |
enum States { | |
LOADING = "Loading", | |
FAILED = "Failed", | |
LOADED = "Loaded", | |
PLAYING = "Playing", | |
STOPPED = "Stopped", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment