NodeJS: Reading and writing to a shared object from multiple promises

前端 未结 0 1742
太阳男子
太阳男子 2020-12-21 23:09

I\'m trying to find out if there could be an issue when accessing an object from multiple promises, eg:

let obj = {test: 0}
let promisesArr = []

for (let n =         


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