Home (https://www.certshero.com/) › Salesforce (https://www.certshero.
com/salesforce)
› Javascript-Developer-I
Salesforce Certified JavaScript Developer I Exam Practice Test
Page: 1 / 14 Want more questions? Get Premium Access.
( Click To See Details )
Total 224 questions
Questions & Answers PDF Web-Based Practice Test Demo
Question 1
Given the following code:
What is the output of line 02?
A 'null'
B 'x-
C 'undefined' 0
D 'object'
Reveal Answer Next Question
Question 2
Given the following code:
let x = null;
console.log(typeof x);
What is the output? Chat now
A 'object'
B 'undefined'
C 'null'
D 'x'
Reveal Answer Next Question
Question 3
Refer to the code below:
Which replacement for the conditional statement on line 02 allows a
developer to correctly determine
that a specific element, myElement on the page had been clicked?
A event.target.id =='myElement'
B event.target.id =='my
Reveal Answer Next Question
Chat now
Question 4
Refer to the HTML below:
Which JavaScript statement results in changing '' The Lion.''?
A document.querySelectorAll('$main $TONY').innerHTML = ''' The Lion
B document.querySelector('$main li:second-child').innerHTML = '' The Lio
n ';
C document.querySelector('$main li.Tony').innerHTML = ''' The Lion ';
D document.querySelector('$main li:nth-child(2)'),innerHTML = '' The Lion.
';
Reveal Answer Next Question
Question 5
Refer to the following code:
Chat now
A document.querySelectorAll('$main $TONY').innerHTML = ''' The Lion
B document.querySelector('$main li:second-child').innerHTML = '' The Lio
n ';
C document.querySelector('$main li.Tony').innerHTML = ''' The Lion ';
D document.querySelector('$main li:nth-child(2)'),innerHTML = '' The Lion.
';
Reveal Answer Next Question
Chat now
Question 6
Given the HTML below:
Which statement adds the priority-account CSS class to the Universal
Containers row?
A document. querySelector (#row-uc'). classes-push('priority-account');
B document. getElementByid('row-uc').addClass('priority-account*);
C document. querySelectorAll('#row-uc') -classList.add('priority-accour');
D document. queryselector('#row-uc').ClassList.add('priority-account');
Reveal Answer Next Question
Question 7
Given the code below:
Chat now
What is logged to the console'
A 12345
B 12534
C 25134
D 25341
Reveal Answer Next Question
Page: 1 / 14
Previous Page Next Page
Total 224 questions
2024 certshero.com. All rights reserved.
All Products (https://www.certshero.com/vendors) Guarantee (https://www.certshero.com/guarantee)
Privacy Policy (https://www.certshero.com/privacy-policy) F.A.Q. (https://www.certshero.com/faqs)
DMCA (https://www.certshero.com/dmca) Contact Us (https://www.certshero.com/contact)
About Us (https://www.certshero.com/about-us)
Chat now