CRT-600試験無料問題集「Salesforce Certified JavaScript Developer I 認定」

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?

A developer wants to define a function log to be used a few times on a single-file JavaScript script.
01 // Line 1 replacement
02 console.log('"LOG:', logInput);
03 }
Which two options can correctly replace line 01 and declare the function for use?
Choose 2 answers

Refer to the HTML below:

Which JavaScript statement results in changing " The Lion."?

Refer to the following object.

How can a developer access the fullName property for dog?

Which function should a developer use to repeatedly execute code at a fixed interval ?

myArraym can have one level, two levels, or more levels.
Which statement flattens myArray when it can be arbitrarily nested?

Given the code below:

What is logged to the console'

Which three browser specific APIs are available for developers to persist data between page loads ?
Choose 3 answers

正解:A,D,E 解答を投票する
developer publishes a new version of a package with new features that do not break backward compatibility. The previous version number was 1.1.3.
Following semantic versioning format, what should the new package version number be?

Refer to the code below:

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

A team that works on a big project uses npm to deal with projects dependencies.
A developer added a dependency does not get downloaded when they execute npm install.
Which two reasons could be possible explanations for this?
Choose 2 answers

正解:B,C,D 解答を投票する
In the browser, the window object is often used to assign variables that require the broadest scope in an application Node.js application does not have access to the window object by default.
Which two methods are used to address this ?
Choose 2 answers

Which two console logs output NaN?
Choose 2 answers | |

Refer to the following array:
Let arr1 = [ 1, 2, 3, 4, 5 ];

Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?

A developer at Universal Containers is creating their new landing page based on HTML, CSS, and JavaScript. The website includes multiple external resources that are loaded when the page is opened.
To ensure that visitors have a good experience, a script named personalizeWebsiteContent needs to be executed when the webpage Is loaded and there Is no need to wait for the resources to be available.
Which statement should be used to call personalizeWebsiteContent based on the above business requirement?

Refer to the following code:

Given the HTML below:

Which statement adds the priority-account CSS class to the Universal Containers row?

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?

Refer to the code below:

Line 05 causes an error.
What are the values of greeting and salutation once code completes?