Last active
December 18, 2018 15:39
-
-
Save Yooooomi/7bcf6f19cee147650e5d3c81aee8277d to your computer and use it in GitHub Desktop.
Infinite callable Javascript Object
This file contains hidden or 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
const nullFn = () => { }; | |
const proxy = { | |
get: function () { | |
return new Proxy(nullFn, proxy); | |
}, | |
}; | |
const infinite = new Proxy(nullFn, proxy); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment