Any one know how to combine map and set by proxy, like this :
var a=new Set();
b=proxy(a,handler);
b.add(1);
b.add(1);
b.set('test1','testing');
console.log(b);//{1,'test1'=>'testing'}
Any one know how to do ,thanks
Any one know how to combine map and set by proxy, like this :
var a=new Set();
b=proxy(a,handler);
b.add(1);
b.add(1);
b.set('test1','testing');
console.log(b);//{1,'test1'=>'testing'}
Any one know how to do ,thanks