100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

SALESFORCE JAVASCRIPT DEVELOPER 1 EXAM QUESTIONS ANSWERED CORRECTLY LATEST 2025

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
20-11-2025
Written in
2025/2026

SALESFORCE JAVASCRIPT DEVELOPER 1 EXAM QUESTIONS ANSWERED CORRECTLY LATEST 2025 A promise is - Answers an object returned by asynchronous code async/await syntax is syntactic sugar for - Answers promises the async keyword is added to the front of a - Answers function that should contain asynchronous code the await keyword is added to the front of an asynchronous function call that returns - Answers a promise the insertAfter() method can be used to add an element to the DOM after a given element (T/F) - Answers False. There is an insertBefore() method but no insertAfter() method. A javascript object can be stored in a browser's localStorage using - Answers JSON.stringify() What are the additional reload options available via long click in Chrome? - Answers - Normal Reload - Hard Reload - Empty Cache and Hard Reload DevTools must be open to access these options. This method creates a table body - Answers eTBody() This method inserts a table row - Answers tRow() What are two ways to listen for events in js? - Answers - addEventListener() - an onevent handler (onclick, onmouseup, etc.) What are the two phases of event propagation in modern browsers? - Answers - bubbling (goes from target to outermost ancestor) - capturing (goes from outermost ancestor to target) How is a custom event created and dispatched? - Answers 1. CustomEvent() to create 2. dispatchEvent() to dispatch ex: const myEvent = new customEvent( What objects can addEventListener() target? - Answers Any object that supports events, including Element, Document, and Window What parameters can be passed to addEventListener()? - Answers - an options object - useCapture (true or false) What are some benefits to using addEventListener()? - Answers - can use multiple handlers for one event - allows controlling phase (bubbling/capturing) when activated What does the target DOM event property refer to? - Answers the element that triggered an

Show more Read less
Institution
JAVASCRIPT
Course
JAVASCRIPT









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
JAVASCRIPT
Course
JAVASCRIPT

Document information

Uploaded on
November 20, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

SALESFORCE JAVASCRIPT DEVELOPER 1 EXAM QUESTIONS ANSWERED CORRECTLY
LATEST 2025

A promise is - Answers an object returned by asynchronous code

async/await syntax is syntactic sugar for - Answers promises

the async keyword is added to the front of a - Answers function that should contain
asynchronous code

the await keyword is added to the front of an asynchronous function call that returns - Answers
a promise

the insertAfter() method can be used to add an element to the DOM after a given element (T/F) -
Answers False. There is an insertBefore() method but no insertAfter() method.

A javascript object can be stored in a browser's localStorage using - Answers JSON.stringify()

What are the additional reload options available via long click in Chrome? - Answers - Normal
Reload

- Hard Reload

- Empty Cache and Hard Reload



DevTools must be open to access these options.

This method creates a table body - Answers table.createTBody()

This method inserts a table row - Answers table.insertRow()

What are two ways to listen for events in js? - Answers - addEventListener()

- an onevent handler (onclick, onmouseup, etc.)

What are the two phases of event propagation in modern browsers? - Answers - bubbling (goes
from target to outermost ancestor)

- capturing (goes from outermost ancestor to target)

How is a custom event created and dispatched? - Answers 1. CustomEvent() to create

2. dispatchEvent() to dispatch



ex:

, const myEvent = new customEvent(

What objects can addEventListener() target? - Answers Any object that supports events,
including Element, Document, and Window

What parameters can be passed to addEventListener()? - Answers - an options object

- useCapture (true or false)

What are some benefits to using addEventListener()? - Answers - can use multiple handlers for
one event

- allows controlling phase (bubbling/capturing) when activated

What does the target DOM event property refer to? - Answers the element that triggered an
event

What does the currentTarget DOM event property refer to? - Answers The element where an
event listener is attached (could be parent to the element clicked)

What do the clientX and clientY DOM event properties refer to? - Answers the x and y
coordinates of a mouse click

Give an example of registering an onevent handler in js (i.e., not html) - Answers
document.getElementById('eltId').onchange = function(event) {// code here}

How can an element's onclick handler be called programmatically? - Answers elt.onclick(),
where elt is the element

Non-element objects do not support event handlers (T/F) - Answers False. window, document,
XMLHttpRequest and others support onevent handlers

What are the six fundamental DOM data types? - Answers - Document

- Node

- Element

- NodeList (array of elements, querySelectorAll())

- Attribute

- NamedNodeMap (accessible by name or index)

What method can be used to programmatically scroll to specific x,y coordinates in the
document? - Answers scrollTo()

How can elements be retrieved by class or tag name? - Answers - getElementsByClassName()

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
joshuawesonga22 Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
26
Member since
7 months
Number of followers
1
Documents
9763
Last sold
2 hours ago
Tutor Wes

Hi there! I'm Tutor Wes, a dedicated tutor with a passion for sharing knowledge and helping others succeed academically. All my notes are carefully organized, detailed, and easy to understand. Whether you're preparing for exams, catching up on lectures, or looking for clear summaries, you'll find useful study materials here. Let’s succeed together!

3.3

3 reviews

5
1
4
0
3
1
2
1
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions