TypeScript — JavaScript with Superpowers — Part II
Published in
4 min readMar 8, 2018
Enums (enumerations) allow you to group values together with friendlier names.
Imagine you had a list of names. Here’s how you would structure the enum
:
Enums (enumerations) allow you to group values together with friendlier names.
Imagine you had a list of names. Here’s how you would structure the enum
: