Need help to log the function body using firebug
When we use the console.log(someObject.someFunction) firebug shows function() string only.
Is there a way i can see/log the code for the function in the console window ? Something similar to what we can achie开发者_运维问答ve using alert(someObject.someFunction) shows the function body.
myFunction.toString()
Another solution :
console.log(myFunction + '');
精彩评论