Nezir Zahirovic
Nezir Zahirovic

TypeScript enums: How do they work? What can they be used for?

JavaScript has one type with a finite amount of values: boolean, which has the values true and false and no other values. With enums, TypeScript lets you define similar types statically yourself.


TypeScript enums: How do they work? What can they be used for? #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typecscript #jquery #emberjs #bosnia