阅读背景:

如何在函数中找出模块路径

来源:互联网 

I have such code:

我有这样的代码:

A.js

module.exports = function() {
/*
    Here I need to find out the path of module in which this function was called.
*/
};
module.ex



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: