Browse Source

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

pull/2060/head
Michele Sessa 1 year ago committed by Michele
parent
commit
7a5f6683a4
  1. 2
      subjects/broken-promise/README.md

2
subjects/broken-promise/README.md

@ -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"))

Loading…
Cancel
Save