mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update promise.md
shouldn't use cooma.
This commit is contained in:
parent
893a34ba27
commit
2416e5685b
@ -484,7 +484,7 @@ someAsyncThing().then(function() {
|
|||||||
// carry on [ReferenceError: y is not defined]
|
// carry on [ReferenceError: y is not defined]
|
||||||
```
|
```
|
||||||
|
|
||||||
上面代码中,第二个`catch`方法用来捕获,前一个`catch`方法抛出的错误。
|
上面代码中,第二个`catch`方法用来捕获前一个`catch`方法抛出的错误。
|
||||||
|
|
||||||
## Promise.prototype.finally()
|
## Promise.prototype.finally()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user