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

Page 4 of 20

Refer to the code below:



What are the value of objBook and newObBook respectively?

  1. ( Title: JavaScript'')
    ( Title: JavaScript'')
  2. author: `'Robert title `'javaScript'' ) undefined
  3. ( author: `'Robert'', title JavaScript'' )
    ( author: `'Robert'', title JavaScript'' )
  4. (author: `'Robert'' )
    (Author: `'Robert `', title: JavaScript'')

Answer(s): B



Refer to the following array:

Let arr = [1, 2, 3, 4, 5];

Which three options result in x evaluating as (3, 4, 5)?

  1. Let x = arr.filter( (a) => ( a < 2)) ;
  2. Let x = arr.aplice (2, 3);
  3. Let x = arr.alice (2) ;
  4. Let x = arr.filter( (a) => )return a > 2 )) ;
  5. Let x = arr. Slince (2, 3);

Answer(s): B,C,D



A developer implements a function that adds a few values.



Which three options can the developer invoke for this function to get a return vale of 10? Choose 3 answers

  1. Sum () (10)
  2. Sum (5, 5) ()
  3. Sum () (5, 5)
  4. Sum (5) (5)
  5. Sum (10) ()

Answer(s): A,C,D



Refer to the HTML below:

<p> The current status of an order: < span> id='' status `> In progress < /span> < /p>

Which JavaScript Statement changes the text `In Progress' to Completed'?

  1. Document, getElementById (status'') , value = completed' ;
  2. Document, getElementById (`'# status''), innerHTML = `Completed' ;
  3. Document, getElementById (`'status''), innerHTML = `Completed' ;
  4. Document, getElementById (`',status''), innerHTML = `Completed' ;

Answer(s): C






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

Certified JavaScript Developer I Discussions & Posts