mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
改正文字错误
This commit is contained in:
parent
527bb244d9
commit
29c88ee19e
@ -72,9 +72,9 @@ var getJSON = function(url) {
|
||||
};
|
||||
|
||||
getJSON("/posts.json").then(function(json) {
|
||||
console.log('Contents: ' + value);
|
||||
console.log('Contents: ' + json);
|
||||
}, function(error) {
|
||||
console.error('出错了', reason);
|
||||
console.error('出错了', error);
|
||||
});
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user