Public
Script
Readme

Temporary way of adding new mathemagic spells

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { blob } from "https://esm.town/v/std/blob";
// Clear spells
const spells = {
"square root": {
"url": "https://gueejla-squareroot.web.val.run/",
"emoji": "U+1FADA",
},
"arithmetic series": {
"url": "https://gueejla-arithmeticseries.web.val.run/",
"emoji": "U+2795",
},
};
for (const spell in spells) {
blob.setJSON(spell, spells[spell]);
}
console.log(await blob.list());
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!
August 18, 2024