MCPcopy Create free account
hub / github.com/ZTFtrue/My-note / getGlobalObject

Function getGlobalObject

web-devlope/call.js:1–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function getGlobalObject(){
2 return this;
3}
4Function.prototype.callFn = function call(thisArg, ...args){
5 if(typeof this !== 'function'){
6 // 不一定是函数调用, 比如 Object.prototype=unction.prototype.callFn ;

Callers 1

call.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected