New Year Sale ! 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 Javascript Developer I exam
Question #: 75
Topic #: 2
[All 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
5 months ago
True. So I think it's most likely just 'Rejected'.
upvoted 0 times
...
Bette
5 months ago
But the code only shows a single Promise that can be rejected or resolved.
upvoted 0 times
...
Deandrea
6 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
6 months ago
I agree with Bette. The Promise in the execute function will be rejected.
upvoted 0 times
...
Bette
6 months ago
I think the result will be 'Rejected'.
upvoted 0 times
...
Nell
6 months ago
True. So I think it's most likely just 'Rejected'.
upvoted 0 times
...
Gary
6 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
6 months ago
I agree, the more 'Rejected's, the merrier!
upvoted 0 times
...
Larae
6 months ago
I'm going for option D, just to keep it interesting.
upvoted 0 times
...
Graciela
6 months ago
I think I'll go with option B, 'Rejected'.
upvoted 0 times
...
...
Lavonna
6 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
5 months ago
User2
upvoted 0 times
...
Terry
5 months ago
User1
upvoted 0 times
...
Darci
6 months ago
I agree, option B seems like the most logical choice.
upvoted 0 times
...
Lynsey
6 months ago
I think option B is the correct answer.
upvoted 0 times
...
...
Stephane
6 months ago
But the code only shows a single Promise that can be rejected or resolved.
upvoted 0 times
...
Buddy
7 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
6 months ago
Yeah, I agree. That seems right.
upvoted 0 times
...
Carolann
6 months ago
I think the correct answer is C) Rejected Resolved
upvoted 0 times
...
...
Bette
7 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
6 months ago
Yeah, it's better to be safe and cover all bases with multiple rejections.
upvoted 0 times
...
Loren
6 months ago
I think option D makes sense, covering all possibilities.
upvoted 0 times
...
...
Josphine
7 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
6 months ago
We can confidently choose option B as the result.
upvoted 0 times
...
Rhea
6 months ago
Looks like it's time to call it a day.
upvoted 0 times
...
Hester
6 months ago
Yes, the Promise in the execute function is rejecting.
upvoted 0 times
...
Alex
7 months ago
I agree, option B is the correct answer.
upvoted 0 times
...
...
Zachary
7 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
7 months ago
I agree with The Promise in the execute function will be rejected.
upvoted 0 times
...
Stephane
7 months ago
I think the result will be 'Rejected'.
upvoted 0 times
...

Save Cancel