JavaScript Reflections iterar a todos los miembros
theObject=document;//or whatever object
for (property in theObject) {
console.log(`key= ${property} , value = ${theObject[property]}`)
}
Xanthous Xenomorph