Skip to content

Instantly share code, notes, and snippets.

let word = "gehen"
let endpoint = 'https://en.wiktionary.org/api/rest_v1/page/definition'
let filter = new RegExp('< *\\/? *[a-z]+ *( [a-z]+="[^<>"]+" *)* *\\/? *>', 'ig')
let url = `${endpoint}/${word}`
let resObj = await fetch(url, {orgin:'test'})
let res = await resObj.json()
function cleanString(str) {

Widget Menagerie

const a = 30;
a;

Three.JS Cubes