Free Certified JavaScript Developer I Exam Braindumps (page: 4)

Page 3 of 20

Given the following code:


Which replacement for the conditional statement on line 02 allows a developer to correctly determine that a button on the page is clicked?

  1. Event, clicked
  2. Event,target.nodename == `BUTTON"
  3. o.nodeTarget == this
  4. button.addEventListener ( `click')

Answer(s): B



Refer to the code below:



What are the values for first and second once the executes?

  1. First is why and second is when.
  2. First is why and second is where.
  3. First is who and second is when.
  4. First is who and second is where.

Answer(s): B



Refer to the code below:


In which sequence will the number be logged?

  1. 0 1 2 3 4
  2. 0 2 4 3 1
  3. 0 2 4 1 3
  4. 1 3 0 2 4

Answer(s): B



A developer wants to leverage a module to print a price in pretty format, and has imported a method as shown below:

Import printPrice from `/path/PrincePrettyPrint. Js';

Based on the code, what must be true about the printPrice function of the PricePrettyPrint modules for this import to work?

  1. printPrice must be named export
  2. printPrice must be an all export
  3. printPrice must be an default export
  4. printPrice must be a multi export

Answer(s): A






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

Certified JavaScript Developer I Discussions & Posts