Implement `customPromiseAll(promises)` that mimics `Promise.all()`. | Code | javascript Interview Questions | NextRound.in