In my code, I have a couple of dictionaries (as suggested here) which is String indexed. Due to this being a bit of an improvised type, I was wondering if there any suggesti
Ians Answer is good, but you should use const instead of let for the key because it never gets updated.
for (const key in myDictionary) { let value = myDictionary[key]; // Use `key` and `value` }