ExamGecko
Ask Question

Salesforce Certified JavaScript Developer I Practice Test - Questions Answers, Page 18

Add to Whishlist

List of questions

Question 171

Report Export Collapse

bar, awesome is a popular JavaScript module. the versions publish to npm are:

Salesforce Certified JavaScript Developer I image Question 171 63842 09232024002545000000

Teams at Universal Containers use this module in a number of projects. A particular project has the package, json definition below.

Salesforce Certified JavaScript Developer I image Question 171 63842 09232024002545000000

A developer runs this command: npm install.

Which version of bar .awesome is installed?

Become a Premium Member for full access
  Unlock Premium Member

Question 172

Report Export Collapse

Given the expressions var1 and var2, what are two valid ways to return the concatenation of the two expressions and ensure it is string? Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 173

Report Export Collapse

A developer needs to debug a Node.js web server because a runtime error keeps occurring at one of the endpoints.

The developer wants to test the endpoint on a local machine and make the request against a local server to look at the behavior. In the source code, the server, js file will start the server. the developer wants to debug the Node.js server only using the terminal.

Which command can the developer use to open the CLI debugger in their current terminal window?

Become a Premium Member for full access
  Unlock Premium Member

Question 174

Report Export Collapse

Refer to the following object.

Salesforce Certified JavaScript Developer I image Question 174 63845 09232024002545000000

How can a developer access the fullName property for dog?

Become a Premium Member for full access
  Unlock Premium Member

Question 175

Report Export Collapse

Given the following code:

Salesforce Certified JavaScript Developer I image Question 175 63846 09232024002545000000

What will be the first four numbers logged?

Become a Premium Member for full access
  Unlock Premium Member

Question 176

Report Export Collapse

There is a new requirement for a developer to implement a currPrice method that will return the current price of the item or sales..

Salesforce Certified JavaScript Developer I image Question 176 63847 09232024002545000000

What is the output when executing the code above

Become a Premium Member for full access
  Unlock Premium Member

Question 177

Report Export Collapse

A developer copied a JavaScript object:

Salesforce Certified JavaScript Developer I image Question 177 63848 09232024002545000000

How does the developer access dan's forstName,lastName? Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 178

Report Export Collapse

A developer is setting up a Node,js server and is creating a script at the root of the source code, index,js, that will start the server when executed. The developer declares a variable that needs the folder location that the code executes from.

Which global variable can be used in the script?

Become a Premium Member for full access
  Unlock Premium Member

Question 179

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 180

Report Export Collapse

Refer to the code below:

Salesforce Certified JavaScript Developer I image Question 180 63851 09232024002545000000

What is the output of this function when called with an empty array?

Become a Premium Member for full access
  Unlock Premium Member
Total 224 questions
Go to page: of 23
Search

Related questions