I would like to know why this question (How to view Javascript documentation from console?) was closed. In fact, it's what I'm looking for. Since I don't find any explanation but the answers given to the question I suppose that is a matter of words.
I would like to know which functions (or properties) has JS and React to display info about themself (like JS modules, built-ins, etc, or in the case of React, for instance, a hook definition).
Let me explain better with a few examples: