When I console.log an object, I can expand it and view its properties and the whole chain of prototypes all the way up. When I console.log the function the click on it takes me to the function definition in the source code. I would like the same behaviour though: click on a function, expand it and see its prototype. How can I do that?
1 Answer
console.dir will handle what you are asking. Documentation available in the Console API Reference.
