Refer to the code below:
01 const exec = (item, delay) =>{
02 newPromise(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);A developer uses a parsed JSON string to work with user information as in the block below:
01 const user Information ={
02 " id " : "user-01",
03 "email" : "[email protected]",
04 "age" : 25
Which two options access the email attribute in the object?
Choose 2 answers
A. userInformation("email")Given the HTML below:

Which statement adds the priority-account css class to the Applied Shipping row?
A. document.querySelector('#row-as').classList.add('priority-account');Refer to the code below:

Line 05 causes an error.
What are the values of greeting and salutation once code completes?
A. Greeting is Hello and salutation is Hello, Hello.Developer removes the HTML class attribute from the checkout button, so now it is simply:
.
There is a test to verify the existence of the checkout button, however it looks for a button with class= "blue". The test fails because no such button is found.
Which type of test category describes this test?
A. True positiveGiven two expressions var1 and var2. What are two valid ways to return the logical AND of the two expressions and ensure it is data type Boolean?
Choose 2 answers:
A. Boolean(var1 andand var2)A developer tries to retrieve all cookies, then sets a certain key value pair in the cookie. These statements are used:

What is the behavior?
A. Cookies are read, but the key value is not set because the value is not URL encoded.Refer to code below:
Let first = `who';
Let second = `what';
Try{
Try{
Throw new error(`Sad trombone');
}catch (err){
First ='Why';
}finally {
Second ='when';
} catch(err) {
Second ='Where';
}
What are the values for first and second once the code executes ?
A. First is Who and second is WhenA developer writes the code below to calculate the factorial of a given number
function sum(number){
return number * sum(number-1);
}
sum(3);
what is the result of executing the code.
B. 6Refer to the code below:

Which value can a developer expect when referencing country,capital,cityString?
A. 'London'Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your JAVASCRIPT-DEVELOPER-I exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.