- Find the function of interest in the console
- Right-click the word
function - Click Show Feature Definition
- The function is now displayed on the Sources tab.
Alternatively, write down the result
Function.prototype.toString.call(someObj.methodOne) /* function (e) { return 'e is ' + e; } */
The third option is to double-click on the word function , which extends the function in the editing window, but I personally do not like this method because it is misleading - you canβt actually make changes, but the keys you enter change the contents of the field and any other registration activities will result in loss of focus.
source share