{"json_modified": "2016-06-23T01:36:03.397796", "uuid": "d55aceea-8589-4f9d-92dd-702040f570cc", "title": "Promise.prototype.then()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": [], "translations": [{"uuid": "0633b8ae-72ff-470b-a8ed-95aaf61e7aca", "title": "Promise.prototype.then()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": ["prototype", "Prototype", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "The then()
method returns a Promise
. It takes two arguments: callback functions for the success and failure cases of the Promise
.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-06-13T21:21:10", "review_tags": []}, {"uuid": "49c5793e-688f-40f9-9023-4eae501bc3bc", "title": "Promise.prototype.then()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise/then", "tags": ["prototype", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Promise", "ECMAScript6", "M\u00e9thode"], "summary": "La m\u00e9thode then()
renvoie un objet Promise
. Elle prend deux arguments qui sont deux fonctions callback \u00e0 utiliser en cas de compl\u00e9tion ou d'\u00e9chec de la Promise
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-13T22:06:40", "review_tags": []}, {"uuid": "ca491688-5c8a-458c-a9fc-205f7e736b08", "title": "Promise.prototype.then()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": [], "summary": "then()
\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2aPromise\u3002
\u5b83\u6709\u4e24\u4e2a\u53c2\u6570\uff0c\u5206\u522b\u4e3aPromise\u5728 success \u548c failure \u60c5\u51b5\u4e0b\u7684\u56de\u8c03\u51fd\u6570\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-11-03T01:34:05", "review_tags": []}, {"uuid": "6d70ed9d-7d01-4ea7-a9a4-1c552ec54831", "title": "Promise.prototype.then()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": [], "summary": "O m\u00e9todo then() retorna uma Promise. Possui dois argumentos, ambos s\u00e3o \"call back functions\", sendo uma para o sucesso e outra para o fracasso da promessa.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-04-03T11:27:05", "review_tags": []}, {"uuid": "c028d11d-b627-4e9f-abb0-11b5806fc5a8", "title": "Promise.prototype.then()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": ["prototype", "Prototype", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "then()
\u30e1\u30bd\u30c3\u30c9\u306fPromise
\u3092\u8fd4\u3057\u307e\u3059\u3002\uff12\u3064\u306e\u5f15\u6570\u3092\u6301\u3061\u3001\u4e21\u65b9\u3068\u3082Promise
\u304c\u6210\u529f\u3057\u305f\u5834\u5408\u3001\u5931\u6557\u3057\u305f\u5834\u5408\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3067\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2016-04-26T12:18:42", "review_tags": ["editorial"]}, {"uuid": "092a60c5-92ba-41bc-8dea-56350179c2da", "title": "Promise.prototype.then()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": ["ECMAScript6", "\u043c\u0435\u0442\u043e\u0434", "\u041c\u0435\u0442\u043e\u0434", "\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439", "JavaScript"], "summary": "\u041c\u0435\u0442\u043e\u0434\u00a0then()
\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u00a0Promise
\u00a0(\u043e\u0431\u0435\u0449\u0430\u043d\u0438\u0435). \u041e\u043d \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430, \u043e\u0431\u0430 \u2014 \u043a\u043e\u043b\u043b\u0431\u044d\u043a-\u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043a\u0430\u0437\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-08-20T03:31:35", "review_tags": []}, {"uuid": "0cb109e5-4663-4ec4-bf13-7a7a68ac329f", "title": "Promise.prototype.then()", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Promise/then", "tags": ["prototype", "Referensi", "Prototype", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "Method\u00a0then()
mengembalikan\u00a0Promise
. Menggunakan dua argumen: fungsi callback untuk kasus sukses dan gagal pada\u00a0Promise
.", "localization_tags": [], "locale": "id", "last_edit": "2016-05-29T18:23:45", "review_tags": []}], "modified": "2016-06-23T01:36:02", "label": "Promise.prototype.then()", "localization_tags": [], "locale": "de", "id": 160123, "last_edit": "2016-06-23T01:35:57", "summary": "Die\u00a0then
- und Promise.prototype.catch()
-Methoden, k\u00f6nnen, da sie\u00a0Promises\u00a0zur\u00fcckgeben, verkettetet werden\u00a0\u2014 ein Vorgehen, das composition genannt wird.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameter", "title": "Parameter"}, {"id": "Beschreibung", "title": "Beschreibung"}, {"id": "Beispiele", "title": "Beispiele"}, {"id": "Benutzen_der_then-Methode", "title": "Benutzen der\u00a0"}, {"id": "Verketten", "title": "Verketten"}, {"id": "Spezifikationen", "title": "Spezifikationen"}, {"id": "Browserkompatibilit\u00e4t", "title": "Browserkompatibilit\u00e4t"}, {"id": "Siehe_auch", "title": "Siehe auch"}], "slug": "Web/JavaScript/Reference/Global_Objects/Promise/then", "review_tags": ["technical", "editorial"]}