{"json_modified": "2016-08-08T04:44:45.949837", "uuid": "35cd87fb-5563-4507-920c-5f0d52045a59", "title": "Generator.prototype.throw()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator/throw", "tags": ["Generator", "Reference", "Prototype", "JavaScript", "ECMAScript6", "Method"], "translations": [{"uuid": "822db111-019f-4d20-bc14-2de79591e0df", "title": "Generator.prototype.throw()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Generator/throw", "tags": ["Generator", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "ECMAScript6", "M\u00e9thode"], "summary": "La m\u00e9thode throw
()
l\u00e8ve une erreur dans un g\u00e9n\u00e9rateur.", "localization_tags": [], "locale": "fr", "last_edit": "2016-04-26T03:29:22", "review_tags": []}, {"uuid": "27ac511f-8e12-4207-b153-a32111fe27a0", "title": "Generator.prototype.throw()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Generator/throw", "tags": ["Generator", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Prototype", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "\u30a8\u30e9\u30fc\u3092\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306b\u30b9\u30ed\u30fc\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T07:05:18", "review_tags": ["editorial"]}, {"uuid": "fda8b744-0202-4f21-ae38-83557cbfef0a", "title": "Generator.prototype.throw()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Generator/throw", "tags": [], "summary": "throw()
\u00a0\uba54\uc18c\ub4dc\ub294 Generator\uc758 \uc2e4\ud589\uc744 \uc7ac\uac1c\uc2dc\ud0a4\uace0 Generator \ud568\uc218\uc758 \uc2e4\ud589 \ubb38\ub9e5 \uc18d\uc73c\ub85c error\ub97c \uc8fc\uc785\ud55c\ub2e4. done
\uacfc value
\ud504\ub85c\ud37c\ud2f0\ub97c \uac00\uc9c4 \uac1d\uccb4\ub97c \ubc18\ud658\ud55c\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-18T23:27:40", "review_tags": []}, {"uuid": "dbaac436-b8d8-4454-b8f2-ac11e37197b4", "title": "Generator.prototype.throw()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Generator/throw", "tags": ["\u5c5e\u6027", "\u53c2\u8003", "\u65b9\u6cd5", "JavaScript", "ECMAScript6", "\u751f\u6210\u5668"], "summary": "throw
()
\u65b9\u6cd5\u7528\u6765\u5411\u751f\u6210\u5668\u629b\u51fa\u5f02\u5e38\uff0c\u5e76\u6062\u590d\u751f\u6210\u5668\u7684\u6267\u884c\uff0c\u8fd4\u56de\u5e26\u6709 done
\u53ca value
\u4e24\u4e2a\u5c5e\u6027\u7684\u5bf9\u8c61\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-01T05:20:48", "review_tags": []}], "modified": "2016-04-26T01:50:53", "label": "Generator.prototype.throw()", "localization_tags": [], "locale": "en-US", "id": 136017, "last_edit": "2016-04-26T01:50:50", "summary": "The throw()
method resumes the execution of a generator by throwing an error into it and returns an object with two properties done
and value
.", "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_throw()", "title": "Using "}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Generator/throw", "review_tags": []}