Free JavaScript-Developer-I Exam Braindumps

Pass your Salesforce Certified JavaScript Developer I exam with these free Questions and Answers

Page 3 of 44
QUESTION 6

Universal Containers recently launched its new landing page to host a crowd-funding
campaign. The page uses an external library to display some third-party ads. Once the page is fully loaded, it creates more than 50 new HTML items placed randomly inside the DOM, like the one in the code below:
JavaScript-Developer-I dumps exhibit
All the elements includes the same ad-library-item class, They are hidden by default, and they are randomly displayed while the user navigates through the page.

  1. A. Use the DOM inspector to prevent the load event to be fired.
  2. B. Use the browser to execute a script that removes all the element containing the class ad-library-item.
  3. C. Use the DOM inspector to remove all the elements containing the class ad-library-item.
  4. D. Use the browser console to execute a script that prevents the load event to be fired.

Correct Answer: B

QUESTION 7

Refer to the code:
JavaScript-Developer-I dumps exhibit
Given the code above, which three properties are set pet1? Choose 3answers:

  1. A. Name
  2. B. canTalk
  3. C. Type
  4. D. Owner
  5. E. Size

Correct Answer: BCE

QUESTION 8

A developer creates a generic function to log custom messages in the console. To do this, the function below is implemented.
JavaScript-Developer-I dumps exhibit
Which three console logging methods allow the use of string substitution in line 02?

  1. A. Assert
  2. B. Log
  3. C. Message
  4. D. Info
  5. E. Error

Correct Answer: AD

QUESTION 9

Refer to the code below:
JavaScript-Developer-I dumps exhibit
After running this code, which result is displayed on the console?

  1. A. > true > false
  2. B. > 5 >undefined
  3. C. > 5 > -1
  4. D. >5 > 0

Correct Answer: B
JavaScript-Developer-I dumps exhibit

QUESTION 10

developer wants to use a module nameduniversalContainersLib and them call functions from it.
How should a developer import every function from the module and then call the fuctions foo and bar ?

  1. A. import * ad lib from ‘/path/universalContainersLib.js’; lib.foo();lib.bar();
  2. B. import (foo, bar) from ‘/path/universalContainersLib.js’; foo();bar();
  3. C. import all from ‘/path/universalContaineraLib.js’; universalContainersLib.foo(); universalContainersLib.bar();
  4. D. import * from ‘/path/universalContaineraLib.js’; universalContainersLib.foo(); universalContainersLib.bar();

Correct Answer: A

Page 3 of 44

Post your Comments and Discuss Salesforce JavaScript-Developer-I exam with other Community members: