Re:Don't Use Booleans
by CharlieDigital on Tuesday July 09, 2024 @08:23AM
(#40915246)
It's exactly this problem and it's not obvious for someone choosing an enum type that the underlying implementation in JS is an object indexer.
[ Parent
| on HN ]
There are no comments on this comment yet.