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 3 Question 67 Discussion

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

Refer to the following code:

What will the console show when the button is clicked?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Nenita
1 months ago
Hmm, I'm torn between B and D. I'll go with D, 'Inner message', since that's what the code suggests. But I gotta say, if the answer is 'Outer message and a Kitten', I'm going to be both impressed and deeply concerned.
upvoted 0 times
Arlie
12 days ago
Let's go with 'Inner message' then.
upvoted 0 times
...
Helaine
19 days ago
I agree, the code seems to suggest that.
upvoted 0 times
...
Van
30 days ago
I think it will show 'Inner message'.
upvoted 0 times
...
...
Carry
2 months ago
I'm with Erick on this one. D all the way, baby! Though I do wonder if the answer key has a sense of humor. Maybe they'll throw in a 'Banana message' just to mess with us.
upvoted 0 times
Ming
6 days ago
I agree with you, D) Inner message seems like the correct answer.
upvoted 0 times
...
Pamella
12 days ago
I'm not so sure about that. I believe it will only show the inner message. D) Inner message
upvoted 0 times
...
Tuyet
15 days ago
I'm not so sure about D. Maybe it's a trick question and the answer is actually B.
upvoted 0 times
...
Ozell
28 days ago
I agree with Erick and the first user. D seems like the correct answer.
upvoted 0 times
...
Stefany
30 days ago
I think it will show both messages. B) Outer messageInner message
upvoted 0 times
...
Nakisha
1 months ago
I'm going with A. Outer message is the only one mentioned in the code.
upvoted 0 times
...
Rodolfo
1 months ago
I think it's D too. Simple and straightforward.
upvoted 0 times
...
...
Erick
2 months ago
Oh, I got this! It's gotta be D, 'Inner message'. The event listener is on the button, so the console should only show the inner message.
upvoted 0 times
Daron
1 months ago
B) Outer messageInner message
upvoted 0 times
...
Adrianna
1 months ago
A) Outer message
upvoted 0 times
...
...
Haydee
2 months ago
Maybe it will show both Inner message and Outer message.
upvoted 0 times
...
Ammie
2 months ago
I believe it will show Outer message.
upvoted 0 times
...
Haydee
2 months ago
I think the console will show Inner message.
upvoted 0 times
...
Golda
2 months ago
Hmm, this one's a tricky one. I'm thinking B, 'Outer messageInner message'. That stopPropagation() method should keep the click event from bubbling up to the outer div, right?
upvoted 0 times
Michell
21 days ago
I think it will display B) Outer messageInner message.
upvoted 0 times
...
Cristal
1 months ago
I agree with the first option, A) Outer message.
upvoted 0 times
...
Fanny
1 months ago
I'm not sure, but I believe it will be C) Inner messageOuter message.
upvoted 0 times
...
Gail
2 months ago
I think it will show A) Outer message.
upvoted 0 times
...
...

Save Cancel