This website works better with JavaScript.
欢迎来到马士兵代码仓库
Sign In
msb-public
/
svelte
mirror of
https://github.com/sveltejs/svelte
Watch
1
Star
0
Code
Issues
Projects
Releases
Wiki
Activity
016158b692
svelte
/
test
/
runtime
/
samples
/
reactive-values-implicit-se...
/
main.svelte
7 lines
97 B
Raw
Blame
History
<
script
>
export
let
num
=
1
;
$
:
max
=
Math
.
max
(
num
,
max
||
0
);
</
script
>
<
p
>
{
num
}
/
{
max
}
</
p
>
Reference in new issue
View Git Blame
Copy Permalink