Update task.md

To keep that order coherent with the solution's.
This commit is contained in:
totize 2019-01-29 20:35:54 +01:00 committed by GitHub
parent 38e1bb5c52
commit 88f2c5f59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
```