Can't access data from a promise inside another promise

后端 未结 0 1065
逝去的感伤
逝去的感伤 2020-12-18 15:28

I\'m having trouble understanding the scope of a variable inside promises. Let\'s say I have the following code :

var tab
return new Promise(function(resolve,         


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