Skip to content
RED SAG Skills
medium10 pts · first answer countsjavascriptpromises

What Promise.withResolvers gives

A modal should return a promise that settles when the user clicks OK or Cancel in a separate handler. What does const { promise, resolve, reject } = Promise.withResolvers() provide?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions