Update task.md
To keep that order coherent with the solution's.
This commit is contained in:
parent
38e1bb5c52
commit
88f2c5f59b
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
|||
Are these code fragments equal? In other words, do they behave the same way in any circumstances, for any handler functions?
|
||||
|
||||
```js
|
||||
promise.then(f1, f2);
|
||||
promise.then(f1).catch(f2);
|
||||
```
|
||||
|
||||
Versus;
|
||||
```js
|
||||
promise.then(f1).catch(f2);
|
||||
promise.then(f1, f2);
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue