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
16 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
18 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
23 days ago
Hmm, that's an interesting perspective. Let's discuss further.
upvoted 0 times
...
Reid
25 days ago
I disagree, I believe the answer is C) viewdata is assigned but not declared.
upvoted 0 times
...
Brittni
26 days ago
I think the answer is B) viewdata is declared but not assigned.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77