{"json_modified": "2016-08-18T09:48:50.834914", "uuid": "56e315ec-f3f0-41f6-8c09-294df7332e8a", "title": "Promise.resolve()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise/resolve", "tags": ["R\u00e9f\u00e9rence", "ECMAScript6", "M\u00e9thode", "Promise", "JavaScript"], "translations": [{"uuid": "fc173c27-7b8d-41fb-8982-f585ee8b34a1", "title": "Promise.resolve()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve", "tags": ["Promise", "ECMAScript6", "Method", "JavaScript"], "summary": "The Promise.resolve(value)
method returns a Promise
object that is resolved with the given value. If the value is a thenable (i.e. has a \"then\" method
), the returned promise will \"follow\" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the value.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-08-17T14:37:05", "review_tags": []}, {"uuid": "c3d43ab5-5349-4213-8e79-ed355a6dee59", "title": "Promise.resolve()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve", "tags": ["Experimental", "Exp\u00e9rimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "\u5f15\u6570\u3067\u4e0e\u3048\u3089\u308c\u305f\u5024\u3067\u5b8c\u4e86\u3055\u308c\u305fPromise
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u304c\u6210\u529f\u306a\u3089 (\u3059\u306a\u308f\u3061then
\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3063\u3066\u3044\u308b)\u3001\u8fd4\u3055\u308c\u308b\u30d7\u30ed\u30df\u30b9\u306f\u6210\u529f\u306b\u5f93\u3044\u3001\u305d\u306e\u6700\u7d42\u7684\u306a\u72b6\u614b\u3092\u63a1\u7528\u3057\u307e\u3059\u3002\u3055\u3082\u306a\u3051\u308c\u3070\u3001\u8fd4\u3055\u308c\u308b\u30d7\u30ed\u30df\u30b9\u306f\u305d\u306e\u5024\u3067\u5931\u6557\u306b\u3055\u308c\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T08:38:56", "review_tags": ["editorial"]}, {"uuid": "7c8f010a-c711-4bb5-a10e-3600884fade7", "title": "Promise.resolve()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve", "tags": [], "summary": "Promise.resolve(value)\u65b9\u6cd5
\u8fd4\u56de\u4e00\u4e2a\u4ee5\u7ed9\u5b9a\u503c\u89e3\u6790\u540e\u7684Promise\u5bf9\u8c61\u3002\u4f46\u5982\u679c\u8fd9\u4e2a\u503c\u662f\u4e2athenable\uff08\u5373\u5e26\u6709then\u65b9\u6cd5\uff09\uff0c\u8fd4\u56de\u7684promise\u4f1a\u201c\u8ddf\u968f\u201d\u8fd9\u4e2athenable\u7684\u5bf9\u8c61\uff0c\u91c7\u7528\u5b83\u7684\u6700\u7ec8\u72b6\u6001\uff08\u6307resolved/rejected/pending/settled\uff09\uff1b\u5426\u5219\u4ee5\u8be5\u503c\u4e3a\u6210\u529f\u72b6\u6001\u8fd4\u56depromise\u5bf9\u8c61\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-03-17T23:14:28", "review_tags": []}, {"uuid": "cc91711a-04c9-4b86-944b-5c8d3a6bcc60", "title": "Promise.resolve()", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve", "tags": ["Promise", "ECMAScript6", "Method", "JavaScript"], "summary": "Method\u00a0Promise.resolve(value)
\u00a0mengembalikan objek Promise.then
yang diselesaikan dengan nilai yang diberikan. jika nilainya thenable\u00a0(mis. memiliki \"then\" method
), promise yang dikembalikan akan \"mengikuti\"\u00a0thenable-nya, menggunakan keadaan ini; sebaliknya promise akan dikembalikan sesuai nilai yang terpenuhi.", "localization_tags": [], "locale": "id", "last_edit": "2016-05-29T18:22:15", "review_tags": []}, {"uuid": "2639dd1b-6b4b-4f14-b68f-83cbf0f0638a", "title": "Promise.resolve()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve", "tags": ["Promise", "ECMAScript6", "Method", "JavaScript"], "summary": "Promise.resolve(value)
\uba54\uc11c\ub4dc\ub294 \uc8fc\uc5b4\uc9c4 \uac12\uc73c\ub85c \uacb0\uc815(resolve)\ub418\ub294 Promise.then
\uac1d\uccb4\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \uadf8 \uac12\uc774 thenable(\uc989 \"then\" \uba54\uc11c\ub4dc
\uac00 \uc788\uc74c)\uc778 \uacbd\uc6b0, \ubc18\ud658\ub41c \ud504\ub85c\ubbf8\uc2a4\ub294 \uadf8 thenable\uc744 \"\ub530\ub974\uba70\", \uadf8 \ucd5c\uc885 \uc0c1\ud0dc\ub97c \ucde8\ud569\ub2c8\ub2e4; \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ubc18\ud658\ub41c \ud504\ub85c\ubbf8\uc2a4\ub294 \uadf8 \uac12\uc73c\ub85c \uc774\ud589(fulfill)\ub429\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-06-24T04:47:40", "review_tags": []}], "modified": "2016-08-18T09:48:50", "label": "Promise.resolve()", "localization_tags": [], "locale": "fr", "id": 127663, "last_edit": "2016-08-18T09:48:46", "summary": "Une promesse (Promise
qui est r\u00e9solue avec la valeur indiqu\u00e9e en argument.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param\u00e8tres", "title": "Param\u00e8tres"}, {"id": "Valeur_de_retour", "title": "Valeur de retour"}, {"id": "Description", "title": "Description"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Utilisation_de_la_m\u00e9thode_statique_Promise.resolve", "title": "Utilisation de la m\u00e9thode statique "}, {"id": "R\u00e9soudre_un_tableau", "title": "R\u00e9soudre un tableau"}, {"id": "R\u00e9soudre_une_autre_Promise", "title": "R\u00e9soudre une autre "}, {"id": "R\u00e9soudre_des_objets_avec_then_et_renvoyer_des_erreurs", "title": "R\u00e9soudre des objets avec "}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Objets_globaux/Promise/resolve", "review_tags": []}