Are there any tools that will show me a list o开发者_如何转开发f all functions that call a given function? Perhaps there is a code coverage tool that can also output this information.
Not that I know of.
Unlike most languages, it isn't possible to write such a tool effectively in Javascript, since functions can (and frequently are) called by name or passed in variables.
It would be possible to find out when a function is called as you run your code, though.
精彩评论