How do Promises change the use of functions

后端 未结 0 803
忘了有多久
忘了有多久 2020-12-17 02:20

I am having trouble finding a use for Promises. Wouldn\'t these 2 approaches below work the same exact way? Since the while loop in loopTest() is

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