enum iterate typescript code example Example: typescript iterate over enum Click to copyfor (const key in EnumObject) { console.log(key, EnumObject[key]); }