Type-safe enums in JavaScriptgithub.com/vivin 1 pointvivin10 years ago1 commentSaveHideCopy link On HNComments−vivinOP10yComments are appreciated. It seems to work like you would expect, but I'd like to know if there's anything I'm missing in particular, or if the whole approach is just completely wrong.
Comments
Comments are appreciated. It seems to work like you would expect, but I'd like to know if there's anything I'm missing in particular, or if the whole approach is just completely wrong.