September 2024
Beginner to intermediate
985 pages
35h 37m
English
Another concept, known as a design pattern in many programming languages, was introduced natively to the JavaScript language in ES2015. We’re talking about proxies.
In software development, a proxy is an object that’s upstream of another object and is called as a substitute for the object. The proxy object allows you to intercept, process, and forward accesses to the source object and also to intercept and influence the return values of intercepted methods (see Figure 16.5).
Figure 16.5 Method Calls to Objects Can Be Intercepted via Proxies
Read now
Unlock full access