javascript check object methods

JavaScript
Object.getOwnPropertyNames() 
Source

Also in JavaScript: