JavaScript async function updates variable before executing console.log

前端 未结 0 1204
别跟我提以往
别跟我提以往 2021-01-17 00:35

In the following code example I try to update an array. I console.log() before the change is supposed to have happened and after. But BOTH console.log()s print the updated v

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