Is the map method parallel?

后端 未结 0 1736
-上瘾入骨i
-上瘾入骨i 2021-01-29 09:44

Is the method [1, 2, 3].map(item=>f(item)) execute f(1), f(2), f(3) parallelly? Or execute like "f(1), then f(2), then f(3)"?

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