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 2 Question 75 Discussion

Actual exam question for Salesforce's Salesforce Certified JavaScript Developer I exam
Question #: 75
Topic #: 2
[All Salesforce Certified JavaScript Developer I Questions]

Refer to the code below:

What is the result when the Promise in the execute function is rejected?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Carissa
2 months ago
True. So I think it's most likely just 'Rejected'.
upvoted 0 times
...
Bette
2 months ago
But the code only shows a single Promise that can be rejected or resolved.
upvoted 0 times
...
Deandrea
2 months ago
I'm not so sure. Maybe it could be a combination of 'Rejected Resolved' if there are multiple promises?
upvoted 0 times
...
Carissa
2 months ago
I agree with Bette. The Promise in the execute function will be rejected.
upvoted 0 times
...
Bette
3 months ago
I think the result will be 'Rejected'.
upvoted 0 times
...
Nell
3 months ago
True. So I think it's most likely just 'Rejected'.
upvoted 0 times
...
Gary
3 months ago
Option B, 'Rejected'? Nah, that's too easy. I'm going for option D, just to keep the exam interesting. After all, the more 'Rejected's, the merrier!
upvoted 0 times
Mi
2 months ago
User3: I agree, the more 'Rejected's, the merrier!
upvoted 0 times
...
Larae
2 months ago
User2: I'm going for option D, just to keep it interesting.
upvoted 0 times
...
Graciela
3 months ago
User1: I think I'll go with option B, 'Rejected'.
upvoted 0 times
...
...
Lavonna
3 months ago
This question is a real brain-teaser. I'm gonna go with option A just to be safe. Hey, at least I'm not the one who wrote the code, right? *chuckles*
upvoted 0 times
Pamella
2 months ago
User2
upvoted 0 times
...
Terry
2 months ago
User1
upvoted 0 times
...
Darci
2 months ago
I agree, option B seems like the most logical choice.
upvoted 0 times
...
Lynsey
2 months ago
I think option B is the correct answer.
upvoted 0 times
...
...
Stephane
3 months ago
But the code only shows a single Promise that can be rejected or resolved.
upvoted 0 times
...
Buddy
4 months ago
Aha! I think I got this. The correct answer is C, 'Rejected Resolved'. Yep, that's gotta be it. I'm a JavaScript pro, trust me.
upvoted 0 times
Zita
3 months ago
User2: Yeah, I agree. That seems right.
upvoted 0 times
...
Carolann
3 months ago
User1: I think the correct answer is C) Rejected Resolved
upvoted 0 times
...
...
Bette
4 months ago
Wait, what if the Promise is rejected multiple times? Maybe option D is the way to go. Gotta cover all the bases, you know?
upvoted 0 times
Lorean
3 months ago
Yeah, it's better to be safe and cover all bases with multiple rejections.
upvoted 0 times
...
Loren
3 months ago
I think option D makes sense, covering all possibilities.
upvoted 0 times
...
...
Josphine
4 months ago
Hmm, looks like the Promise is rejecting. I'd say option B is the correct answer. Easy peasy, time to call it a day!
upvoted 0 times
Ming
3 months ago
We can confidently choose option B as the result.
upvoted 0 times
...
Rhea
3 months ago
Looks like it's time to call it a day.
upvoted 0 times
...
Hester
3 months ago
Yes, the Promise in the execute function is rejecting.
upvoted 0 times
...
Alex
4 months ago
I agree, option B is the correct answer.
upvoted 0 times
...
...
Zachary
4 months ago
I'm not so sure. Maybe it could be a combination of 'Rejected Resolved' if there are multiple promises?
upvoted 0 times
...
Nell
4 months ago
I agree with The Promise in the execute function will be rejected.
upvoted 0 times
...
Stephane
4 months ago
I think the result will be 'Rejected'.
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