why is the `throw` Iterator Interface method never called in the for-of loop?

前端 未结 0 758
猫巷女王i
猫巷女王i 2021-02-12 14:03

according to ECMAScript specification an object implementing the Iterator Interface must have the next method, but there are also optional return and <

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