Why with forEach is does not work but with for loop it does? Vanilla Javascript

后端 未结 0 1680
鱼传尺愫
鱼传尺愫 2021-01-24 16:58

Can someone explain me why with a for loop it works and with a forEach it does not. I thought we could simply swap for with forEach with no problems.

It works! FOR LOOP

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