Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf
2016-12-01 15:59:25 +08:00
+1 -1
View File
@@ -847,7 +847,7 @@ console.log('next');
function getUsername(userId) {
return database.users.get({id: userId})
.then(function(user) {
return uesr.name;
return user.name;
});
}
```