Update promise.md

shouldn't use cooma.
This commit is contained in:
GJ Wang
2018-04-09 22:52:56 +08:00
committed by GitHub
parent 893a34ba27
commit 2416e5685b
+1 -1
View File
@@ -484,7 +484,7 @@ someAsyncThing().then(function() {
// carry on [ReferenceError: y is not defined]
```
上面代码中,第二个`catch`方法用来捕获前一个`catch`方法抛出的错误。
上面代码中,第二个`catch`方法用来捕获前一个`catch`方法抛出的错误。
## Promise.prototype.finally()