Skip to content

Commit 312ec74

Browse files
authored
typo mistake
a typo mistake
1 parent e5b3208 commit 312ec74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/promise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ console.log('next');
847847
function getUsername(userId) {
848848
return database.users.get({id: userId})
849849
.then(function(user) {
850-
return uesr.name;
850+
return user.name;
851851
});
852852
}
853853
```

0 commit comments

Comments
 (0)