mirror of https://github.com/01-edu/public.git
docs(broken-promise): fix a typo in the example part
This commit is contained in:
parent
d977ff48a2
commit
7a5f6683a4
|
@ -27,7 +27,7 @@ import doubleIt from './broken-promise.js'
|
||||||
|
|
||||||
const asyncFive = async () => new Promise((resolve) => resolve(5))
|
const asyncFive = async () => new Promise((resolve) => resolve(5))
|
||||||
|
|
||||||
const asyncSeven = async () => new Promise((resolve) => resolve(5))
|
const asyncSeven = async () => new Promise((resolve) => resolve(7))
|
||||||
|
|
||||||
const asyncReject = async () => new Promise((_, reject) => reject("There are no numbers available"))
|
const asyncReject = async () => new Promise((_, reject) => reject("There are no numbers available"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue