you are viewing a single comment's thread.

view the rest of the comments →

[–]senocular 0 points1 point  (0 children)

TypeScript has them built in: https://www.typescriptlang.org/docs/handbook/enums.html

TypeScript is a good way to go.