Update proxy.js

pull/16176/head
Simon H 3 months ago committed by GitHub
parent ff82b63cea
commit 4f7d6a8c29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -266,10 +266,7 @@ export function proxy(value) {
// object property before writing to that property.
if (s === undefined) {
if (!has || get_descriptor(target, prop)?.writable) {
s = with_parent(() => {
var s = source(undefined, stack);
return s;
});
s = with_parent(() => source(undefined, stack));
set(s, proxy(value));
sources.set(prop, s);

Loading…
Cancel
Save