【コードメモ】JS で Object を forEach する方法
$ node > let obj = { hoge: "hogehoge", fuga: "fugafuga" } > Object.keys(obj).forEach(key => console.log(key, obj[key])) hoge hogehoge fuga fugafuga
参考
How to loop through a plain JavaScript object with the objects as members? - Stack Overflow