4 ms·Type-safe enums in JavaScript1 points by vivin 11y agovivin 11y agoComments 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.