appendToComments
Script
v1
Fork
1
2
3
4
5
6
7
8
9
import
{
comments
}
from
"https://www.val.town/v/coreyallen/comments"
;
export
const
appendToComments
=
(
// the Run API accepts any number of JSON-encoded args
// here we accept a single arg
data
:
any
,
)
=>
{
comments
.
push
(
data
)
;
}
;