When I work with frameworks like Phaser.js, I find it helpful to use the console to discover possible properties of objects by using:
Object.getOwnPropertyNames(myObject)
However, I've noticed that some properties don't appear in the console, likely because they are not "own" properties of the object. Is there a way to make these properties show up in the console as well?
I'm essentially looking for a method like:
Object.getAllPropertyNames(myObject)
If anyone could offer assistance, I would greatly appreciate it! I'm still new to JavaScript :)