Search
 
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
Name
9+3 =