Original code:
function getInParallel(apiCalls) { // Write your code here } let promise = getInParallel([() => Promise.resolve("First API call!"), () => Promise.resolve("Second API call!")]); if(promise) { promise.then((result) => console.log(result)).catch((err) => console.log(err)); } module.exports.getInParallel = getInParallel;
Dashboard
Start Trial
Sign In
Home
Product
Features
Use Cases
Customers
ROI Calculator
Integrations
Assessments
Tests
Questions
Pricing
Resources
Book: Evidence-Based Hiring
Blog
Support
Contact Us
Legal
For Jobseekers
© TestDome, 2024.