Salesforce CRT-600 Prepare for your JavaScript Developer I Certification Exam Practice Test

Page: 1 / 14
Total 224 questions
Question 1

A developer initiates a server with the file server,js and adds dependencies in the source codes package,json that are required to run the server.

Which command should the developer run to start the server locally?



Answer : C


Question 2

A developer has the function, shown below, that is called when a page loads.

Where can the developer see the log statement after loading the page in the browser?



Answer : A


Question 3

A developer at Universal Containers is creating their new landing page based on HTML, CSS, and JavaScript.

To ensure that visitors have a good experience, a script named personalizeWebsiteContent needs to be executed when the webpage is fully loaded (HTML content and all related files), in order to do some custom initializations.

Which implementation should be used to call Fe:s:-a;::eHec5;te::.-.ter.: based on the business requirement above?



Answer : C


Question 4

Refer to the code below:

const car = {

price:100,

getPrice:function(){

return this.price;

}

};

const customCar = Object.create(car);

customCar.price = 70;

delete customCar.price;const result = customCar.getPrice();

What is the value of result after the code executes?



Answer : A


Question 5

Given the HTML below:

Which statement adds the priority-account css class to the Applied Shipping row?



Answer : A


Question 6

Refer to the string below:

const str = 'Salesforce';

Which two statements result in the word 'Sales'?

Choose 2 answers



Answer : B, D


Question 7

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?

Choose 2 answers



Answer : B, C


Page:    1 / 14   
Total 224 questions