Edit: an easier way is
console.dir(fn). Thanks to @ELV1S on Twitter.
If you have a function with properties directly on it, logging it directly in the Chrome dev tools console will do
toString and you'll just see its source:
However, if you wrap it in an object, then you can use get disclosure triangle that allows you to explore all of it's properties: