setCounter
Script
v1
Fork
1
2
3
4
5
let
{
counter
}
=
await
import
(
"https://esm.town/v/ae_play/counter"
)
;
export
function
setCounter
(
mutator
)
{
counter
=
mutator
(
counter
)
}