JavaScript-Developer-I Salesforce Certified JavaScript Developer I

Loading demo links...

Showing 7–9 of 15 questions

Question 7

Refer to the code below:

Which two statements correctly execute the runParallel() function? (Choose two.)

Select all that apply, then click Submit answer.

  • runParallel().then(data);

  • runParallel().done(function(data){ return data;
    });

  • async runParallel().then(data);

  • runParallel().then(function(data){ return data;
    });

Question 8

A developer uses a parsed JSON string to work with user information as in the block below:

01 const userInformation ={

02 “ id ” : “user-01”,

03 “email” : “[email protected]”,

04 “age” : 25

Which two options access the email attribute in the object?

Choose 2 answers

Select all that apply, then click Submit answer.

  • userInformation(“email”)

  • userInformation.get(“email”)

  • userInformation.email

  • userInformation(email)

Question 9

Refer to code below:

Function muFunction(reassign){

Let x = 1;

var y = 1;

if( reassign ) {

Let x= 2;

Var y = 2;

console.log(x);

console.log(y);}

console.log(x);

console.log(y);}

What is displayed when myFunction(true) is called?

Select an option, then click Submit answer.

  • 2 2 1 1

  • 2 2 undefined undefined

  • 2 2 1 2

  • 2 2 2 2