阅读背景:

我可以覆盖Javascript Function对象来记录所有函数调用吗?

来源:互联网 

Can I override the behavior of the Function object so that I can inject behavior prior t every function call, and then carry on as normal? Specifically, (though the general idea is intriguing in itself) can I log to the console every function call without having to insert console.log statements everywhere? And then the normal behavior goes on?Can I override the behavior of the Function obj




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

分享到: