Métodos de objeto de verificação javascript
Object.getOwnPropertyNames()
Clumsy Cobra
Object.getOwnPropertyNames()
Object.getOwnPropertyNames(obj)
getMethods = (obj) => Object.getOwnPropertyNames(obj).filter(item => typeof obj[item] === 'function')