Online Access Free JS-Dev-101 Practice Test
| Exam Code: | JS-Dev-101 |
| Exam Name: | Salesforce Certified JavaScript Developer - Multiple Choice |
| Certification Provider: | Salesforce |
| Free Question Number: | 149 |
| Posted: | Oct 21, 2026 |
A developer is leading the creation of a new web server for their team that will fulfill API requests from an existing client. The team wants a web server that runs on Node.js, and they want to use the new web framework Minimalist.js. The lead developer wants to advocate for a more seasoned back-end framework that already has a community around it.
Which two frameworks could the lead developer advocate for?
Given the following code:
01 let x = null;
02 console.log(typeof x);
What is the output of line 02?
Refer to the code below:
let strNumber = '12345';
Which code snippet shows a correct way to convert this string to an integer?
Refer to the code below (assuming Promise.race is intended):
let cat3 = new Promise(resolve =>
setTimeout(resolve, 3000, "Cat 3 completes")
);
Promise.race([cat1, cat2, cat3])
.then(value => {
let result = `${value} the race.`;
})
.catch(err => {
console.log("Race is cancelled:", err);
});
(Assuming cat1 and cat2 are similar to earlier examples: cat2 resolves fastest.) What is the value of result when Promise.race executes?