Skip to content

Commit b6a4afd

Browse files
committed
lint
1 parent 70962e5 commit b6a4afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ export function get(signal) {
778778
tracing_expressions.entries.set(signal, entry);
779779
}
780780

781-
var last = entry.traces.at(-1);
781+
var last = entry.traces[entry.traces.length - 1];
782782

783783
// traces can be duplicated, e.g. by `snapshot` invoking both
784784
// both `getOwnPropertyDescriptor` and `get` traps at once

0 commit comments

Comments
 (0)