Created
November 3, 2020 11:07
-
-
Save susemeee/8fa0158d115aed423fd9e66dc141ac04 to your computer and use it in GitHub Desktop.
MagicHole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.MagicHole = new Proxy(function () { console.log('MagicHole:call', arguments); return window.MagicHole; }, { | |
get(target, name) { | |
console.log('MagicHole:get', name); | |
return window.MagicHole; | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment