Is there a method or propertie to get all methods from an object? For example:
function foo() {} foo.prototype.a = function() {} foo.prototype.b = function()
You can use console.dir(object) to write that objects properties to the console.
console.dir(object)