1
2
3
4
5
6
7
8
9
10
11
12
import { getItem } from "https://esm.town/v/beneskildsen/getItem";
import { mergeObjects } from "https://esm.town/v/beneskildsen/mergeObjects";
import { dispatch } from "https://esm.town/v/beneskildsen/dispatch";
export const testDispatch = (async () => {
await dispatch(
{ hello: "world" },
mergeObjects,
"test2",
);
console.log(getItem("test2"));
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023