Loading homepage
Combine the results of two promises into a single value using type-specific merging rules while preserving rejection behavior.
Input: await promiseMerge(Promise.resolve([1, 2]), Promise.resolve([3])); Output: [1, 2, 3]
Use the documented contract in JS and TS.