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

typo mistake

a typo mistake
This commit is contained in:
Jacty 2016-12-01 10:34:33 +08:00 committed by GitHub
parent e5b32087c9
commit 312ec74699

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