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

Actual exam question for Salesforce's JS-Dev-101 exam
Question #: 1
Topic #: 7
[All JS-Dev-101 Questions]

Which actions can be done using the JavaScript browser console?

Show Suggested Answer Hide Answer
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.

________________________________________


Contribute your Thoughts:

0/2000 characters
Vanna
23 hours ago
Performance reports are a breeze to check in the console!
upvoted 0 times
...
Desirae
6 days ago
Wait, can you really run code unrelated to the page? Sounds sketchy.
upvoted 0 times
...
Slyvia
11 days ago
A and D are both possible, for sure.
upvoted 0 times
...
Marleen
16 days ago
You can definitely change the DOM with the console!
upvoted 0 times
...
Oren
22 days 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.
upvoted 0 times
...
Carolynn
27 days ago
I feel like the console can show performance reports, but I can't recall if it can change security cookies.
upvoted 0 times
...
Refugia
1 month 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.
upvoted 0 times
...
Sol
1 month 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.
upvoted 0 times
...

Save Cancel