JavaScript Object.getOwnPropertyNames()

This example list the properties of an object.