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/anonymous/d688bed45ec355c0e15fe4180dbb22a5).
console.log(123) |
let word = "cat" | |
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/anonymous/d688bed45ec355c0e15fe4180dbb22a5).
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/anonymous/2b548062b10370516bca2bb4b3907a00).
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/anonymous/d27c44a7173cfef75c9dbe529e64bf07).
const wordsReg = /(\w+|\W+)/g | |
const parts = /(th|st|ch|sh|ng|in|at|en|so|ab|er|da|cr|or|(\w)\2*)/gi |
const zzz = [ | |
{ | |
"rr": 843, | |
"uri": "/on/demandware.store/Sites-bootbarn_us-Site/default/Login-LoginForm" | |
}, | |
{ | |
"rr": 50, | |
"uri": "/on/demandware.store/Sites-bootbarn_us-Site/default/Order-SingleOrder" | |
}, | |
{ |
const extensionString = 'aapbdbdomjkkjkaonfhkkikfgjllcleb,abfmmnnkkojjfgajfjjodllhmkcpfkam,ajphlblkfpppdpkgokiejbjfohfohhmk,amcnjejmdfilapnnfgnhnidhkififadk,bcapjlfjbmaijdinncieppinamjgljog,bdehgigffdnkjpaindemkaniebfaepjm,bfgdeiadkckfbkeigkoncpdieiiefpig,bgdpkilkheacbboffppjgceiplijhfpd,bhaonknplhhecdgjpphnooeomecgipkc,cflcffjlkchkdaljonjmfljdfilfnhkm,cikipehcmeblohaibidanjaelilmdilo,dehajjkfchegiinhcmoclkfbnmpgcahj,dhgmfcabdnkbdhelnooodefedbilcpho,dncgedbnidfkppmdgfgidcepclnokpkb,ecimfebadcfiablhgjpheinknpdkdjhh,ecnphlgnajanjnkcmbpancdjoidceilk,eiimnmioipafcokbfikbljfdeojpcgbh,elmgohdonjdampbcgefphnlchgocpaij,fdffijlhedcdiblbingmagmdnokokgbi,fmidkjgknpkbmninbmklhcgaalfalbdh,fmlboobidmkelggdainpknloccojpppi,fpmapakogndmenjcfoajifaaonnkpkei,gdicnpbaekbefjanokchpfhnaphfnphl,ghbmnnjooekpmoecnnnilnnbdlolhkhi,hcgfdfgomnfebpnlkohhflcdhkllepdk,hddnkoipeenegfoeaoibdmnaalmgkpip,hdgegmlancchhhlkkddoiedlklgocffm,hdhinadidafjejdhmfkjgnolgimiaplp,hjngolefdpdnooamgdldlkjgmdcmcjnc,hmbjbjdpkobdjplfobhljndfdfdipjhg,hmdcmlfkc |
import JSTAT from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/jstat.min.js'; | |
import FORMULA from 'https://cdn.jsdelivr.net/gh/formulajs/[email protected]/dist/formula.min.js'; | |
const formulajs = require('formulajs'); | |
formulajs.SUM([1,2,3]); |