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