mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 11:12:21 +00:00
commit
3ec27d3ab9
@ -484,7 +484,7 @@ someAsyncThing().then(function() {
|
||||
// carry on [ReferenceError: y is not defined]
|
||||
```
|
||||
|
||||
上面代码中,第二个`catch`方法用来捕获,前一个`catch`方法抛出的错误。
|
||||
上面代码中,第二个`catch`方法用来捕获前一个`catch`方法抛出的错误。
|
||||
|
||||
## Promise.prototype.finally()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user