阅读背景:

是否有可能在javascript中获取调用者上下文?

来源:互联网 
var test = {
    demo: function(){
      //get the caller context here
    }
}
//when this gets called, the caller context should be window.
test.demo();
var test = {
    demo: function(){
      //get 



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

分享到: