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 Exam Javascript Developer I Topic 6 Question 79 Discussion

Actual exam question for Salesforce's Javascript Developer I exam
Question #: 79
Topic #: 6
[All Javascript Developer I Questions]

A developer has the function, shown below, that is called when a page loads.

Where can the developer see the log statement after loading the page in the browser?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Jutta
10 months ago
The answer has to be A) On the browser JavaScript console. That's the standard place to view console logs in modern web development.
upvoted 0 times
Alpha
10 months ago
D) On the webpage console log
upvoted 0 times
...
Junita
10 months ago
A) On the browser JavaScript console
upvoted 0 times
...
...
Ulysses
10 months ago
Haha, B) On the terminal console running the web server? What is this, the 90s? Browser dev tools are where it's at these days!
upvoted 0 times
Goldie
9 months ago
A: It's just easier to see everything right there in the browser.
upvoted 0 times
...
Detra
10 months ago
B: Definitely, I always use the browser console for debugging.
upvoted 0 times
...
Edna
10 months ago
A: Yeah, I agree! Browser dev tools are so much more convenient.
upvoted 0 times
...
...
Therese
10 months ago
Definitely A then. We see logs in the browser console during development.
upvoted 0 times
...
Marya
11 months ago
I think the answer is D) On the webpage console log. That's where the developer would typically see log statements from their code.
upvoted 0 times
...
Kirk
11 months ago
Nope, B is for server-side logs. Browser logs belong in the JavaScript console.
upvoted 0 times
...
Fernanda
11 months ago
But what about the terminal console? Couldn't it be B?
upvoted 0 times
...
Francesco
11 months ago
Yeah, I agree. Browser's console is where you can see console.log output.
upvoted 0 times
...
Brittni
11 months ago
The correct answer is A) On the browser JavaScript console. That's where the log statement from the function will be displayed.
upvoted 0 times
Gabriele
9 months ago
Yes, you're right. That's where the log statement will show up.
upvoted 0 times
...
Lindsey
10 months ago
I think the answer is A) On the browser JavaScript console.
upvoted 0 times
...
Gail
10 months ago
Yeah, that's correct. It will show up there after the page loads.
upvoted 0 times
...
Minna
10 months ago
I think the log statement will be displayed on the browser JavaScript console.
upvoted 0 times
...
Hyman
10 months ago
B: Yeah, that's where the log statement will show up after the page loads.
upvoted 0 times
...
Brianne
10 months ago
A: I think the answer is A) On the browser JavaScript console.
upvoted 0 times
...
...
Rebbeca
12 months ago
I think it's straightforward. It's A, on the browser JavaScript console.
upvoted 0 times
...
Kirk
12 months ago
This question seems tricky. What do you think?
upvoted 0 times
...

Save Cancel