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

Save Cancel