3 ms·
If you don't want enum's runtime footprint, just use `const enum` Less typing and easier to read than your solution
by trinovantes 4y ago
If you don't want enum's runtime footprint, just use `const enum`
Less typing and easier to read than your solution