Difference between enum and const enum in Typescript
Enums are a powerful construct to reduce errors in your code. Instead of typing a string, and possibly mistyping the value, using an 'enum' lets the compiler throw you an error at compile time. It also helps in refactoring your code (the editor can f...
