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 B2C Commerce Developer Topic 3 Question 85 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 85
Topic #: 3
[All B2C Commerce Developer Questions]

Given the SFRA Controller below:

Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Elvera
8 days ago
D seems more likely to me. The viewdata variable could be a reserved name in B2C Script, and that's why the debugger can't access it.
upvoted 0 times
...
Jess
10 days ago
I think B is the correct answer. The question clearly states that the viewdata variable is declared but not assigned, which would explain why the debugger is unable to show its value.
upvoted 0 times
...
Brittni
15 days ago
Hmm, that's an interesting perspective. Let's discuss further.
upvoted 0 times
...
Reid
17 days ago
I disagree, I believe the answer is C) viewdata is assigned but not declared.
upvoted 0 times
...
Brittni
18 days ago
I think the answer is B) viewdata is declared but not assigned.
upvoted 0 times
...

Save Cancel