Is there a difference between for case let and a for loop + if let?

前端 未结 0 735
醉话见心
醉话见心 2020-12-14 07:51

I just learned about for case let, and these two versions of a loop have the same output. It made me wonder, is there any difference (in performance or otherwise) in for cas

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