Skip to content

Commit 45caf0b

Browse files
committed
improve symbol logging
1 parent 26173de commit 45caf0b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function proxy(value, path) {
4444
var to_trace_name = DEV
4545
? (prop) => {
4646
return typeof prop === 'symbol'
47-
? `${path}[unique symbol]`
47+
? `${path}[Symbol(${prop.description ?? ''})]`
4848
: typeof prop === 'number' || Number(prop) === Number(prop)
4949
? `${path}[${prop}]`
5050
: `${path}.${prop}`;

0 commit comments

Comments
 (0)