This Gist was automatically created by Carbide, a free online programming environment.
[You can view a live, interactive version of this Gist here](http://alpha.trycarbide.com/@bijection/bae03af5387
| 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) { |
This Gist was automatically created by Carbide, a free online programming environment.
[You can view a live, interactive version of this Gist here](http://alpha.trycarbide.com/@bijection/bae03af5387
This Gist was automatically created by Carbide, a free online programming environment.
| const a = 30; | |
| a; |
This Gist was automatically created by Carbide, a free online programming environment.
This Gist was automatically created by Carbide, a free online programming environment.
This Gist was automatically created by Carbide, a free online programming environment.
This Gist was automatically created by Carbide, a free online programming environment.