1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

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
commit 8d8db4e667

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;
});
}
```