Skip to content

Commit 4f7c3bd

Browse files
committed
fix: filter out symbol from own keys
1 parent 5e02a98 commit 4f7c3bd

File tree

1 file changed

+3
-1
lines changed
  • packages/svelte/src/internal/client

1 file changed

+3
-1
lines changed

packages/svelte/src/internal/client/proxy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ export function proxy(value) {
266266

267267
var own_keys = Reflect.ownKeys(target).filter((key) => {
268268
var source = sources.get(key);
269-
return source === undefined || source.v !== UNINITIALIZED;
269+
return (
270+
source === undefined || source.v !== UNINITIALIZED || key !== BINDABLE_FALLBACK_SYMBOL
271+
);
270272
});
271273

272274
for (var [key, source] of sources) {

0 commit comments

Comments
 (0)