3 ms·
I mean, enums literally get compiled into an object at runtime so aside from the definition it's basically the same :/ They're definition avoiding anything dif
by virtue3 6y ago
I mean, enums literally get compiled into an object at runtime so aside from the definition it's basically the same :/
They're definition avoiding anything different now:
see goal 6:
https://github.com/microsoft/TypeScript/wiki/TypeScript-Design-Goals#goals https://github.com/microsoft/TypeScript/wiki/TypeScript-Desi...