let members = Object.getOwnPropertyNames(foo)
for (let key in object) { console.log(key); console.log(object[key]); }