Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam CRT-600 Topic 8 Question 58 Discussion

Actual exam question for Salesforce's CRT-600 exam
Question #: 58
Topic #: 8
[All CRT-600 Questions]

Refer to the code below:

01 const exec = (item, delay) =>{

02 new Promise(resolve => setTimeout( () => resolve(item), delay)),

03 async function runParallel() {

04 Const (result1, result2, result3) = await Promise.all{

05 [exec ('x', '100') , exec('y', 500), exec('z', '100')]

06 );07 return `parallel is done: $(result1) $(result2)$(result3)`;

08 }}}

Which two statements correctly execute the runParallel () function?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel