How to use the value defined before the callback, even if the value changes during the async operation?

后端 未结 0 1315
小鲜肉
小鲜肉 2021-01-13 06:08

I tried to isolate the problem as much as from my original code. The following outputs "2" to the console:

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