mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
3b6848b5a2
@ -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