Salesforce - Celebrating 10 Years of Success with Discount Offer - Ends In 1d 00h 00m 00s Coupon code: USA30OFF
  1. Home
  2. Salesforce
  3. Free CRT-600 Questions

Free Practice Questions for Salesforce CRT-600 Exam

Pass4Future also provide interactive practice exam software for preparing Salesforce Prepare for your JavaScript Developer I Certification (CRT-600) Exam effectively. You are welcome to explore sample free Salesforce CRT-600 Exam questions below and also try Salesforce CRT-600 Exam practice test software.

Page:    1 / 14   
Total 224 questions

Question 1

A developer has an is Dog function that takes one argument cat. They want to schedule the function to run every minute.

What is the correct syntax for scheduling this function?



Answer : A


Question 2

Given the code below:

const delay = async delay =>{

return new Promise((resolve,reject)=>{

console.log(1);

setTimeout(resolve,deleay);

});

};

const callDelay = async ()=>{

console.log(2);

const yup = await delay(1000);

console.log(3);

}

console.log(4);

callDelay();

console.log(5);

What is logged to the console?



Answer : A


Question 3

Refer to the following code:

class Vehicle{

constructor(plate){

this.plate = plate;

}

}

class Truck extends Vehicle{

constructor(plate, weight){

//Missing code

this.weight = weight;

}

displayWeight(){

console.log(`The truck ${this.plate} has a weight of ${this.weight}lb.`);

}

}let myTruck = new Truck('123Ab',5000);

myTruck.displayWeight();

Which statement should be added to missing code for the code to display 'The truck 123AB has a

weight of 5000lb.



Answer : A


Question 4

Refer to the code below:

What is the result when the Promise in the execute function is rejected?



Answer : C


Question 5

Given the JavaScript below:

Which code should replace the placeholder comment on line 06 to hide accounts that do not match the search string?



Answer : D


Page:    1 / 14   
Total 224 questions