This is a TypeScript mini-demo that compares the dangers of using enum in JavaScript vs using safer alternatives like const object + type.
I’m a software maker working mostly in Go and JavaScript. Share knowledge and thoughts during my journey.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results
Feedback