DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript iterate over enum
for (const key in EnumObject) { console.log(key, EnumObject[key]); }
PREVIOUS
NEXT
Tagged:
#typescript
#iterate
#enum
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit