javascript promises: returning promises with another return inside results in same behavior as using with out 2nd return

前端 未结 0 1621
谎友^
谎友^ 2020-12-11 06:35

I was trying out Promises and have the 2 functions below. I was calling test1() and then using then() to call test2(). The behavior

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