mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 19:22:21 +00:00
commit
d9af38ddc3
@ -489,7 +489,7 @@ Promise.all(promises).then(function (posts) {
|
||||
```javascript
|
||||
const databasePromise = connectDatabase();
|
||||
|
||||
const booksPromise = databaseProimse
|
||||
const booksPromise = databasePromise
|
||||
.then(findAllBooks);
|
||||
|
||||
const userPromise = databasePromise
|
||||
|
Loading…
x
Reference in New Issue
Block a user