ES6 generators mechanism - first value passed to next() goes where?

前端 未结 0 1892
悲&欢浪女
悲&欢浪女 2021-02-15 09:31

When passing parameters to next() of ES6 generators, why is the first value ignored? More concretely, why does the output of this say x = 44 instead of

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