Premium
Add Two Promises
Challenge summary
Resolve two asynchronous numeric inputs and combine their values while preserving rejection behavior.
What you'll practice
- Wait for both asynchronous values before producing a result.
- Return a promise that resolves to the numeric sum.
- Propagate a rejection from either input without masking its reason.
What Premium unlocks
Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.
Free related practice
Public interview reports: LeetCode Discuss (November 2022) · Walmart frontend interview questions
Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.
Premium is $24 a month or $99 a year, less in many countries.