1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-27 12:22:21 +00:00

修改一处容易产生误解的示例

This commit is contained in:
左伦 2016-04-13 11:23:05 +08:00
parent d7f742af69
commit 690d5531a0

View File

@ -45,7 +45,7 @@ Promise实例生成以后可以用then方法分别指定Resolved状态和Reje
```javascript
promise.then(function(value) {
// success
}, function(value) {
}, function(error) {
// failure
});
```