Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 achieve using alert(someObject.someFunction) shows the function body.

like image 901
Anil Namde Avatar asked Nov 24 '25 14:11

Anil Namde


1 Answers

myFunction.toString()
like image 108
Matchu Avatar answered Nov 26 '25 04:11

Matchu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!