docs(broken-promise): fix a typo in the example part

This commit is contained in:
Michele Sessa 2023-04-28 12:02:24 +01:00 committed by Michele
parent d977ff48a2
commit 7a5f6683a4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ import doubleIt from './broken-promise.js'
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"))