0% found this document useful (0 votes)
5K views6 pages

Salesforce Javascript-Developer-I Exam Practice Test Instant Access - No Installation Required

This document contains a practice test for the Salesforce Certified JavaScript Developer I exam with 7 multiple choice questions. The questions cover JavaScript fundamentals like data types, DOM manipulation, and adding/removing CSS classes.

Uploaded by

faldecosea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5K views6 pages

Salesforce Javascript-Developer-I Exam Practice Test Instant Access - No Installation Required

This document contains a practice test for the Salesforce Certified JavaScript Developer I exam with 7 multiple choice questions. The questions cover JavaScript fundamentals like data types, DOM manipulation, and adding/removing CSS classes.

Uploaded by

faldecosea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

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

You might also like