{"description":"CodeGrid \u3067 ES6 Generator \u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3060\u3002 ECMAScript 6\u306e\u65b0\u6a5f\u80fd - Generator | CodeGrid Ruby \u306e Fiber \u306e\u3088\u3046\u306a\u3082\u306e\u306a\u306e\u304b\u306a\u3001\u3068\u601d\u3063\u3066\u66f8\u304d\u6bd4\u3079\u3066\u307f\u305f\u3089\u5c11\u3057\u9055\u3046\u3068\u3053\u308d\u304c\u3042\u3063\u305f\u3002 function* generatorFunc(a) { console.log(a); var b = yield 1; console.log(b); var c = yield 2; console.log(c); } var generator = generatorFunc('a'); console.log(generator.next('\u2026","blog_title":"@kyanny's blog","height":"190","categories":[],"version":"1.0","title":"ES6 Generator \u3068 Ruby \u306e Fiber \u3068 Python 2 \u306e generator","author_url":"https://blog.hatena.ne.jp/a666666/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2015%2F03%2F04%2F235317\" title=\"ES6 Generator \u3068 Ruby \u306e Fiber \u3068 Python 2 \u306e generator - @kyanny&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","author_name":"a666666","type":"rich","published":"2015-03-04 23:53:17","image_url":null,"url":"https://blog.kyanny.me/entry/2015/03/04/235317","blog_url":"https://blog.kyanny.me/"}