{"json_modified": "2016-08-08T04:44:32.685159", "uuid": "e11650f1-1411-4838-9608-9dff58037a47", "title": "Generator.prototype.next()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator/next", "tags": ["Generator", "Reference", "Prototype", "JavaScript", "ECMAScript6", "Method"], "translations": [{"uuid": "5dafcbd7-1dfc-4b86-8eca-b50eaf9e2b40", "title": "Generator.prototype.next()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Generator/next", "tags": ["Generator", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "ECMAScript6", "M\u00e9thode"], "summary": "La m\u00e9thode next
()
renvoie un objet poss\u00e9dant deux propri\u00e9t\u00e9s done
et value
. Cette m\u00e9thode peut \u00e9galement recevoir un param\u00e8tre pour envoyer une valeur au g\u00e9n\u00e9rateur.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-07T03:59:27", "review_tags": []}, {"uuid": "eda73c06-bb27-4b3b-a5d8-4bfe4d0fb6d3", "title": "Generator.prototype.next()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Generator/next", "tags": ["Generator", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Prototype", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "done
\u3068value
\u306e\uff12\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002 \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306b\u5024\u3092\u9001\u308b\u305f\u3081\u306bnext
\u30e1\u30bd\u30c3\u30c9\u306b\u5f15\u6570\u304c\u63d0\u4f9b\u3055\u308c\u3066\u304a\u308a\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T07:04:35", "review_tags": ["editorial"]}, {"uuid": "3832f668-c249-455a-af2f-b8032538eee8", "title": "Generator.prototype.next()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Generator/next", "tags": [], "summary": "next
()
\u00a0\uba54\uc18c\ub4dc\ub294\u00a0done
\uacfc\u00a0value
\ud504\ub85c\ud37c\ud2f0\ub97c \uac00\uc9c4 \uac1d\uccb4\ub97c \ubc18\ud658\ud55c\ub2e4
. \ub610\ud55c\u00a0next
()
\u00a0\uba54\uc18c\ub4dc\ub97c \ud638\ucd9c\ud560 \ub54c \ub9e4\uac1c\ubcc0\uc218\ub97c \uc81c\uacf5\ud558\uc5ec \uadf8 \uac12\uc744 generator\uc5d0 \uc804\ub2ec\ud560 \uc218 \uc788\ub2e4.
", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-18T23:06:55", "review_tags": []}, {"uuid": "5335d6c5-f3ab-4c74-be8b-e486ca15a540", "title": "Generator.prototype.next()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Generator/next", "tags": ["\u53c2\u8003", "\u539f\u578b", "\u65b9\u6cd5", "JavaScript", "ECMAScript6", "\u751f\u6210\u5668"], "summary": "next
()
\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u5c5e\u6027 done
\u548c value
\u7684\u5bf9\u8c61. \u8be5\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u901a\u8fc7\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570\u7528\u4ee5\u5411\u751f\u6210\u5668\u4f20\u503c.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-01T05:27:57", "review_tags": []}], "modified": "2016-06-07T01:34:56", "label": "Generator.prototype.next()", "localization_tags": [], "locale": "en-US", "id": 136011, "last_edit": "2016-06-07T01:34:53", "summary": "The next
()
method returns an object with two properties done
and value
. You can also provide a parameter to the next
method to send a value to the generator.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_next()", "title": "Using "}, {"id": "Sending_values_to_the_generator", "title": "Sending values to the generator"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Generator/next", "review_tags": []}