{"json_modified": "2015-04-17T08:22:58.765432", "slug": "Web/JavaScript/Reference/Global_Objects/Promise/reject", "tags": [], "locale": "zh-CN", "title": "Promise.reject()", "translations": [{"title": "Promise.reject()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/reject", "tags": ["Experimental", "Exp\u00e9rimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "The Promise.reject(reason)
method returns a Promise
object that is rejected with the given reason.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-03-03T02:04:51", "review_tags": []}, {"title": "Promise.reject()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise/reject", "tags": ["Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "La m\u00e9thode Promise.reject(raison)
renvoie un objet Promise
qui est rejet\u00e9 (la promesse n'est pas tenue) \u00e0 cause d'une raison donn\u00e9e.", "localization_tags": [], "locale": "fr", "last_edit": "2015-03-03T04:27:01", "review_tags": []}], "modified": "2015-04-17T08:22:57", "label": "Promise.reject()", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/reject", "last_edit": "2015-04-04T17:42:14", "summary": "Promise.reject(reason)
\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u7528reason\u62d2\u7edd\u7684Promise\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript \u6807\u51c6\u5e93 Promise \u5c5e\u6027 Promise.prototype \u65b9\u6cd5 Promise.all() Promise.prototype.catch() Promise.prototype.then() Promise.race() Promise.reject() Promise.resolve() [Translate] \u7ee7\u627f Function \u5c5e\u6027 Function.arguments Function.arity Function.caller Function.displayName [Translate] Function.length Function.name Function.prototype \u65b9\u6cd5 Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object \u5c5e\u6027 Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor \u65b9\u6cd5 Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() [Translate] Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Summary", "title": "\u6982\u8ff0"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "\u63cf\u8ff0"}, {"id": ".E7.A4.BA.E4.BE.8B", "title": "\u793a\u4f8b"}, {"id": ".E4.BD.BF.E7.94.A8.E9.9D.99.E6.80.81Promise.reject.E6.96.B9.E6.B3.95", "title": "\u4f7f\u7528\u9759\u6001 Promise.reject \u65b9\u6cd5"}, {"id": ".E8.A7.84.E8.8C.83", "title": "\u89c4\u8303"}, {"id": ".E6.B5.8F.E8.A7.88.E5.99.A8.E5.85.BC.E5.AE.B9.E6.80.A7", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "Desktop_Mobile", "title": "Desktop Mobile"}, {"id": ".E5.8F.82.E8.A7.81", "title": "\u53c2\u89c1"}], "id": 146623, "review_tags": []}