JavaScript Design Patterns - Structural - Proxy
Proxy is a structural design pattern that lets us provide a substitute or placeholder for another object.
Imagine a scenario where we need to control access to an original object. This is where a proxy comes in. It acts as a gatekeeper, intercepting ...
nhannguyen.hashnode.dev2 min read