1
2
3
4
5
6
7
8
import { set } from "https://esm.town/v/std/set?v=11";
let { n_vecs_added } = await import("https://esm.town/v/valilo/n_vecs_added");
export let inc_n_vecs_added = async () => {
n_vecs_added += 1;
await set("n_vecs_added", n_vecs_added);
return n_vecs_added;
};
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