Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce JS-Dev-101 Exam - Topic 7 Question 1 Discussion

Posted by Jose on Mar 08, 2026 at 07:41 AM

Which actions can be done using the JavaScript browser console?

Suggested Answer: A, B, D

A: Yes. You can run arbitrary JS in the console (even if it doesn't touch the page).

B: Yes. You can inspect and modify DOM nodes via JS.

C: Performance reports are mainly in the Performance tab, not the console.

D: Yes. You can alter the DOM and redefine or override JS functions/variables at runtime.

E: You can read and set document.cookie, but HttpOnly ''security cookies'' cannot be read or changed from JS.

________________________________________


Get Premium JS-Dev-101 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
31 comments · newest first
JA
James 23 days ago
C is important too. Performance reports help optimize pages.
ME
Melita 28 days ago
A is interesting. Running unrelated code can be useful sometimes.
DA
Dannette 1 month ago
I agree, but D is also valid. You can change both DOM and JS.
MA
Maia 1 month ago
I think B is a good choice. Changing the DOM is key.
ME
Melynda 1 month ago
D is the best! Changing both DOM and JS is super powerful.
PA
Paris 2 months ago
I like C. Performance reports help optimize the page.
RO
Rosalyn 2 months ago
A is interesting too. Running unrelated code can be useful sometimes.
OZ
Ozell 2 months ago
I think B is a solid choice. You can definitely view and change the DOM.
AN
Anastacia 2 months ago
D covers both DOM and JS changes. That's powerful!
EM
Emerson 2 months ago
C is important for performance checks. We need that info!
VE
Vernice 2 months ago
A is interesting too. Running unrelated code can be useful.
JU
Justine 3 months ago
I think B is a solid choice. Changing the DOM is key.
AN
Angella 3 months ago
Wait, can you really change security cookies? That seems risky!
JI
Jillian 3 months ago
Totally agree, B and C are spot on!
EL
Eloisa 3 months ago
I thought you could only change the DOM, not the JS code?
YU
Yuonne 3 months ago
A) isn't possible, right?
LE
Leonida 4 months ago
You can definitely view and change the DOM!
SA
Salena 4 months ago
Wait, can you really change security cookies? That seems risky!
KE
Keneth 4 months ago
Performance reports are super useful, so C is a big yes!
KA
Katina 5 months ago
I thought you couldn't run unrelated code in the console?
MA
Mauricio 6 months ago
A and D are also possible, right?
MA
Martin 6 months ago
You can definitely view and change the DOM with the console!
LE
Lemuel 6 months ago
Changing security cookies? That's a bit risky, isn't it?
VA
Vanna 6 months ago
Performance reports are a breeze to check in the console!
DE
Desirae 6 months ago
Wait, can you really run code unrelated to the page? Sounds sketchy.
SL
Slyvia 6 months ago
A and D are both possible, for sure.
MA
Marleen 7 months ago
You can definitely change the DOM with the console!
OR
Oren 7 months ago
I think options B and D are correct since we can manipulate the DOM and maybe even the JavaScript code, but I'm a bit confused about option A.
CA
Carolynn 7 months ago
I feel like the console can show performance reports, but I can't recall if it can change security cookies.
RE
Refugia 7 months ago
I remember practicing with similar questions, and I believe we can run code that's related to the page, but not sure about unrelated code.
SO
Sol 7 months ago
I think we can definitely view and change the DOM using the console, but I'm not sure about changing the JavaScript code directly.
0/2000 characters

Save Cancel