I know that in javascript I can iterate over an object to get all its properties. If one or more properties is a method, can you see what code is in the method, and not just the name of the method? For instance.
var a = someobject; for (property in a) { console.log(property); }
Is it possible to get the method code in the same way? Thank you in advance.
source share