How do you iterate over a set in TypeScript? for..of does not work:
'Set<string>' is not an array type or a string type
.forEach
is not acceptable, because it hides this
. I'd prefer not to do a while loop in a try catch block. What am I missing? It can't it possibly so clumsy as to require try {while} catch {}.