开发者

Javascript analysis tool that lists all callers of a function

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜