We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e1bb5 commit 88f2c5fCopy full SHA for 88f2c5f
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