Commit 3f28eee0 authored by Michał Woźniak's avatar Michał Woźniak
Browse files


parent 1dd18b86
Pipeline #62 passed with stage
in 0 seconds
......@@ -24,6 +24,9 @@ var tdataPromise = wtf
wtf.fetch('Poland').then((doc)=>{ return doc.json() }).then((tdata)=>{ console.log(tdata.sections[0].infoboxes[0].population_estimate.number) })
population_estimate.text.split(/\n/g)[0].replace(/,/g, '')
data = tdata
<script src="./wtf_wikipedia-client.min.js"/>
<script src="./covid.js"/>
<script src="./wtf_wikipedia-client.min.js"></script>
<script src="./covid.js"></script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment