How to find javascript function definition in Chrome

All developers know that Chrome Developer’s Tool is an amazing tool helps in debug, But it has many features which most of us are aware.

Likely, You can search a function definition in chrome just by inspect element.

Lets say you are searching for a function called LoginUser() from some webpage. And you need to see the definition of LoginUser.

Just right click –> inspect element –> Ctrl + Shift + F.

Type LoginUser in the search bar and select Regular Expression –> Enter