On babel-node REPL I get
TypeError: undefined is not a function
when trying to iterate using a For..Of on an object. I don't get why a for..in would work, but a for..of won't. Is it only for Arrays?
const config = { base: 'iei', url: 'www.' }
for (let i of config) { console.log(i); }