Hey, sure you don't want to learn about the js proxy pattern?
Definition
The proxy pattern is to provide a surrogate or placeholder for an object in order to control access to it. The key to the proxy pattern is to provide a surrogate object to control access to an object when it is not convenient for the deman...
biubiubiu.hashnode.dev3 min read