Skip to content

Commit d439c8a

Browse files
author
Rich Harris
committed
minor tweak
1 parent 98974f5 commit d439c8a

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/01-svelte/08-stores/04-derived-stores

1 file changed

+1
-1
lines changed

content/tutorial/01-svelte/08-stores/04-derived-stores/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You can create a store whose value is based on the value of one or more _other_
88
/// file: stores.js
99
export const elapsed = derived(
1010
time,
11-
($time) => Math.round(($time - start) / 1000)
11+
($time) => +++Math.round(($time - start) / 1000)+++
1212
);
1313
```
1414

0 commit comments

Comments
 (0)