mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
拼写错误
This commit is contained in:
parent
876a7b4bb1
commit
1c6add3cb9
@ -489,7 +489,7 @@ Promise.all(promises).then(function (posts) {
|
|||||||
```javascript
|
```javascript
|
||||||
const databasePromise = connectDatabase();
|
const databasePromise = connectDatabase();
|
||||||
|
|
||||||
const booksPromise = databaseProimse
|
const booksPromise = databasePromise
|
||||||
.then(findAllBooks);
|
.then(findAllBooks);
|
||||||
|
|
||||||
const userPromise = databasePromise
|
const userPromise = databasePromise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user