We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c4fb87 + 88f2c5f commit c99d828Copy full SHA for c99d828
6-async/03-promise-chaining/01-then-vs-catch/task.md
@@ -3,10 +3,10 @@
3
Are these code fragments equal? In other words, do they behave the same way in any circumstances, for any handler functions?
4
5
```js
6
-promise.then(f1, f2);
+promise.then(f1).catch(f2);
7
```
8
9
Versus;
10
11
-promise.then(f1).catch(f2);
+promise.then(f1, f2);
12
0 commit comments