Public
Script
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
import { askAI } from "https://esm.town/v/pomdtr/ask_ai";
import { BrowserContext } from "https://esm.town/v/pomdtr/browser";
export default async function(ctx: BrowserContext) {
const { author, name } = ctx.params;
await askAI(`Add jsdoc comments for each exported function of the val @${author}/${name}`);
}
March 29, 2024