J

Salesforce Javascript-Developer-I Practice Test

Information About Salesforce Javascript-Developer-I Exam

Vender: Salesforce
Exam Code: Javascript-Developer-I
Exam Name: Salesforce Certified JavaScript Developer I
Number Of Questions: 180
Certification Name: Javascript Developer I
Exam Language: English
Questions Type: MCQs
Material Format: PDF & Web Practice Test Software

Prepare Salesforce Javascript-Developer-I Exam Questions

Question No 1:
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

A. Async runParallel () .then(data);
B. runParallel ( ). done(function(data){ return data; });
C. runParallel () .then(data);
D. runParallel () .then(function(data) return data

Answer: B, D

See More Questions

Prepare Salesforce Javascript-Developer-I Exam Questions

Question No 1:
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

A. Async runParallel () .then(data);
B. runParallel ( ). done(function(data){ return data; });
C. runParallel () .then(data);
D. runParallel () .then(function(data) return data

Answer: B, D

See More Questions

Join the conversation

You can post now after register. If you have an account, sign in now to post with your account.