Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Returns an array of methods contained within an object.
console.log(function(a){
return Object.getOwnPropertyNames(a).filter(function(b){
return"function"==typeof a[b]}
)}(YOUR_MODULE)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.