Node.js function returning undefined despite value being defined

后端 未结 0 498
傲寒
傲寒 2021-01-14 02:40

I\'m trying to write a function that pulls data from the COVID-19 API. Here\'s my function:

function covidcases(){
  var http = require(\'follow-redirects\').         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题