Skip to main content
added 83 characters in body
Source Link
glls
  • 20.3k
  • 19
  • 49
  • 83

urlListthe console.push should be thislog outside of your promise is displaying undefined due to the asynchronous nature of Promises.urlList this is normal.push

urlList.push should be this.urlList.push

the console.log outside of your promise is displaying undefined due to the asynchronous nature of Promises. this is normal.

Source Link
glls
  • 20.3k
  • 19
  • 49
  • 83

urlList.push should be this.urlList.push