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
< ES 2017:
Object.keys(obj).forEach(key => { let value = obj[key]; });
>= ES 2017:
Object.entries(obj).forEach( ([key, value]) => console.log(key, value) );