JavaScript-Developer-I Dumps

JavaScript-Developer-I Free Practice Test

Salesforce JavaScript-Developer-I: Salesforce Certified JavaScript Developer I

QUESTION 11

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

Correct Answer: BD

QUESTION 12

Refer to the following code:
JavaScript-Developer-I dumps exhibit
What is returned by the function call on line 13?

Correct Answer: A

QUESTION 13

Consider type coercion, what does the following expression evaluate to? True + 3 + ‘100’ + null

Correct Answer: D

QUESTION 14

Refer to the code below:
1 let car1 = new promise((_, reject) =>
2 setTimeout(reject, 2000, “Car 1 crashed in”));
3 let car2 = new Promise(resolve => setTimeout(resolve, 1500, “Car 2 completed”));
4 let car3 = new Promise(resolve => setTimeout (resolve, 3000, “Car 3 Completed”));
5 Promise.race([car1, car2, car3]) 06 .then(value => (
07 let result = $(value) the race. `; 08 ))
9 catch( arr => (
10 console.log(“Race is cancelled.”, err); 11 ));
What is the value of result when Promise.race executes?

Correct Answer: C

QUESTION 15

A developer receives a comment from the Tech Lead that the code given below has error:
const monthName = ‘July’; const year = 2019;
if(year === 2019) { monthName = ‘June’;
}
Which line edit should be made to make this code run?

Correct Answer: A