I am currently trying to use an API to get IP addresses for visitors. I am getting a "promise pending" message when using the following code:
function getIPAdd(){
var ip = fetch('https://pro.ip-api.com/json/?key=KEY').then(response => response.json()).then(data => data);
return ip;
}
var ipAdd = getIPAdd();
console.log(ipAdd);
I get this output:
Promise {<pending>}
__proto__: Promise
[[PromiseState]]: "fulfilled"
[[PromiseResult]]: Object
This means that the promise is ebing fulfilled but for some reason, still is not completed?
While if I use the following code:
(function(){
fetch('https://pro.ip-api.com/json/?key=KEY').then(response => response.json()).then(data => console.log(data));
})();
I do not get any "promise pending" issues. I am guessing this is becasue it is due to the way console.log
is used in the latter code sample but how can I fix the first code sample so I get my JSON output the way I need it.
modafinil reddit – provigil cost modafinil and birth control
http://cialisbob.com/ tadalafil coupon
http://fildenahim.com fildena 100 mg for sale
http://wardenafil.com difference between viagra cialis levitra
amoxicillin rash – amoxicillin price amoxil USA
http://wardenafil.com levitra viagra cialis
https://himscanada.com/ cialis online us
ivermectin virus – stromectol covid 19 ivermectin order online
where can you get accutane online no rx – accutane online cheap cost of accutane in canada
http://levitraye.com levitra dosage vs cialis
https://himshairloss.com/ buy propecia online usa
cialis from canada to usa – 5mg cialis from canada otc cialis
order deltasone – prednisone 200 mg daily 400 mg prednisone
provigil 200mg – provigil schedule modafinil interactions
https://viagraxyu.com viagra pills
free adult dating
black dating sites
free chat online singles
daisy ridley dating
viagra 100 mg – cheap viagra pills india can you purchase viagra over the counter
https://ivermectineffects.com ivermectin side effects
gay not dating trans men
gay preppy dating site
gay dating sites reddit
russian gay dating scams
gay gorl dating
gay dating sites in canada
vardenafil tablet http://levitrair.com levitra pills
married gay dating
dating a gay guy who only tops
gay speed dating new york city
liverpool gay dating
gay teen diaper dating
gay guys dating tips
ivermectina https://stromectolus.com ivermectin
gay online dating nyc
free gay men dating sites
asians on gay dating site
gay married dating
middle eastern gay men dating
adam4adam.com gay dating site
gay dating sites compare
gay dating in france
gay dating websites 2021
reddit gay dating site
ghunt gay dating site
gay dating games online
javascript-help.li vs online pharmacies http://pharmvolk.com canadian pharmacies shipping to the usa
where to buy misoprostol online – cytotec 200 mg cytotec for induction
javascript-help.li with ivermectin tablets http://ivermectini.com ivermectin
how many people have died of aids http://iwermectin.com ivermectin cream
cheap sildenafil 100 – no prescription generic sildenafil online
javascript-help.li vs stromectol 3mg tablets price http://ivermectiny.com ivermectin for humans amazon
california health insurance short term ivermectin http://iveramectin.com ivermectin tablets
tadalafil tablets 80 mg – cialis cheap online pharmacy mexican pharmacy
dr s near me http://sansordonnancefr.com vardenafil 10 mg prix
ivermectin 3mg tablets – stromectol uk stromectol ivermectin
javascript-help.li reviewed ivermectin tablets https://ivermectiny.com ivermectin tablets
asthma group visit http://withoutbro.com viagra 120 pills
masculine gay dating site
gay dating vancouver
totally free online gay dating
gay dating india sites
teenage gay dating websites
gay dating india sites
javascript-help.li recommended ivermectin where to find http://ivermectinhum.com ivermectin
new gay dating site 2021
gay speed dating las vegas
best free gay dating site
anchorage gay dating
the dating game gay and greg
single gay fathers dating
free gay online dating service
gay dating for socially anxious
gay dating manhattan
clover dating site gay
french gay dating
zoosk gay online dating
Promise is "pending" even with having ".then" chained, issues only occurs while using normal functions – JavaScript Help viagra medication http://doctorborat.com what happens if you take viagra and you don’t need it
gay dating greensboro nc
100% free gay dating
gay dating sitelication
gay serious dating site
gay middle eastern dating
online dating sites gay
indian gay dating sites
latin gay dating
best gay dating sites 2021
24 dating 16 gay
gay dating men most popular
gay dating on line
azithromycin 250 mg http://azithrozpack.com z pack prices
https://stromectolo.com – ivermectin tablets dosage
arthritis lab panel http://essinreceta.com – viagra mujeres
https://ivrmectin.com – ivermectin without doctor prescription
periactin – http://allergyd.com
ivermectin for humans http://stromectolforte.com/# pastilla stromectol buy ivermectin pills
ivermectin buy nz http://stromectolforte.com/ buy ivermectin ivermectin
stromectol tab price https://www.ivermecton.com/ ivermectin tablets
can i put my parents on my health insurance http://cialis20walmart.com – cialis side effects
stromectol over the counter http://ivermectinhum.com/ stromectol how much it cost
viagra 500mg online https://www.viagwdp.com/# buy generic viagra online safely order generic viagra online usa
can you buy accutane online – accutane 30mg best accutane cream
side effects of ivermectin – buy stromectol for humans uk ivermectin 24 mg
https://stromektol.com koszt piguЕ‚ki iwermektyny ivermectin for humans
purchase essay online – essaywrop.com dissertation assistance
plaquenil drug – valtrex 1000mg generic valacyclovir 1000mg brand
sildalis us – diflucan sale glucophage 500mg us
ampicillin usa – metronidazole 400mg cost order generic plaquenil 200mg
buy plaquenil 200mg generic – hydroxychloroquine 400mg oral plaquenil 400mg drug
acheter 50mg du viagra – viagra 50mg bestellen cialis 5mg en ligne
stromectol 3 mg dosage – tadalafil 10mg generika rezeptfrei kaufen ivermectin price usa
cialis tadalafil tadalafil daily online
https://cialistrxy.com/ tadalafil generic where to buy
tadalafil cialis buy cialis
generic tadalafil – cialis 40mg uk ivermectin lice
tadalafil side effects where to buy tadalafil on line
tadalafil online cheap generic cialis for sale
buy cialis where to buy tadalafil on line
https://cialisicp.com/ cost tadalafil generic
tadalafil cost in canada tadalafil dosage
generic ivermectin 6 mg stromectol tablets 3 mg ivermectin without a doctor prescription
Cami Halısı Nedir? Cami Halısı Nasıl Üretilir?
http://ivermectinuni.com/ buy stromectol 6mg