1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 03:02:21 +00:00

改正文字错误

This commit is contained in:
Ruan Yifeng 2014-11-19 17:01:48 +08:00
parent 527bb244d9
commit 29c88ee19e

View File

@ -72,9 +72,9 @@ var getJSON = function(url) {
}; };
getJSON("/posts.json").then(function(json) { getJSON("/posts.json").then(function(json) {
console.log('Contents: ' + value); console.log('Contents: ' + json);
}, function(error) { }, function(error) {
console.error('出错了', reason); console.error('出错了', error);
}); });
``` ```