We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce351e6 commit d63a50cCopy full SHA for d63a50c
1 file changed
src/ng/q.js
@@ -480,8 +480,8 @@ function qFactory(nextTick, exceptionHandler) {
480
* @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.
481
* @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,
482
* each value corresponding to the promise at the same index/key in the `promises` array/hash. If any of
483
- * the promises is resolved with a rejection, this resulting promise will be resolved with the
484
- * same rejection.
+ * the promises is resolved with a rejection, this resulting promise will be rejected with the
+ * same rejection value.
485
*/
486
function all(promises) {
487
var deferred = defer(),
0 commit comments