Really interesting problem here for Javascripters
In Javascript, is possible to intercept when getting a property using proxies.
Also, with a small hack as shown below, is possible to intercept when getting a static property of a class:
class Handler{
constructor(object){
this.object = object;
}
get(target, property){
if
…
Top comments (0)