mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-27 12:22:21 +00:00
修改一处容易产生误解的示例
This commit is contained in:
parent
d7f742af69
commit
690d5531a0
@ -45,7 +45,7 @@ Promise实例生成以后,可以用then方法分别指定Resolved状态和Reje
|
||||
```javascript
|
||||
promise.then(function(value) {
|
||||
// success
|
||||
}, function(value) {
|
||||
}, function(error) {
|
||||
// failure
|
||||
});
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user