Chrome\'s Developer Tools rock, but one thing they don\'t seem to have (that I could find) is a way to find a JavaScript function\'s definition. This would be super handy fo
Lets say we're looking for function named foo:
foo\s*=\s*function (searches for foo = function with any number of spaces between those three tokens),Another variant for function definition is function\s*foo\s*\( for function foo( with any number of spaces between those three tokens.