[英]How can I find out in which referred js-script the called function is
when I call a js-function I want to know in which referred script the called function is located. 当我调用js函数时,我想知道被调用函数位于哪个引用脚本中。
example: 例:
index.html contains scriptpath1 scriptpath2 script....n index.html包含scriptpath1 scriptpath2脚本.... n
.... fooFunction .... fooFunction
So how can I found out in a fast way where the foo() is located without exploring the whole dirs? 因此,如何在不探索整个目录的情况下快速找到foo()所在的位置?
利用浏览器开发工具并弄清楚
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.