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

前端 未结 0 1275
半阙折子戏
半阙折子戏 2021-02-15 09:25

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

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