Free Salesforce JS-Dev-101 Exam Questions

Become Salesforce Certified with updated JS-Dev-101 exam questions and correct answers

Page:    1 / 44      
Total 217 Questions | Updated On: Apr 29, 2026
Add To Cart
Question 1

Refer to the code below:new Promise((resolve, reject) => {const fraction = Math.random();if( fraction >0.5) reject('fraction > 0.5, ' + fraction);resolve(fraction);}).then(() =>console.log('resolved')).catch((error) => console.error(error)).finally(() => console.log(' when am I called?'));CaptureWhen does Promise.finally on line 08 get called?


Answer: D
Question 2

A developer is leading the creation of a new browser application that will serve a singlepage application. The team wants to use a new web framework Minimalsit.js. The Leaddeveloper wants to advocate for a more seasoned web framework that already has acommunity around it.Which two frameworks should the lead developer advocate for?Choose 2 answers


Answer: B,D
Question 3

A developer wants to set up a secure web server with Node.js. The developer creates adirectory locally called app-server, and the first file is app-server/index.jsWithout using any third-party libraries, what should the developer add to index.js to create thesecure web server?


Answer: A
Question 4

Refer to the code below:Function changeValue(obj) {Obj.value = obj.value/2;}Const objA = (value: 10);Const objB = objA;changeValue(objB);Const result = objA.value;What is the value of result after the code executes?


Answer: C
Question 5

Refer to code below:console.log(0);setTimeout(() => (console.log(1);});console.log(2);setTimeout(() => {console.log(3);), 0);console.log(4);In which sequence will the numbers be logged?


Answer: C
Page:    1 / 44      
Total 217 Questions | Updated On: Apr 29, 2026
Add To Cart

© Copyrights DumpsCertify 2026. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.