Skip to content
Advertisement

Tag: javascript-proxy

Get array in [[target]] from proxy

How can i get this number from productCount.value (screenshot)? Trying productCount.value.array, but i will get again proxy – [[target]] – array Edit 1: If i use productCount.value.array[0] i will get error Invalid value used as weak map key Answer Trying productCount.value.array, but i will get again proxy – [[target]] – array That’s not necessarily a problem. If the proxies (apparently

Advertisement