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 71 Discussion

Actual exam question for Salesforce's Javascript Developer I exam
Question #: 71
Topic #: 2
[All Javascript Developer I Questions]

Which two code snippets showworking examples of a recursive function?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Mary
8 days ago
I'm not sure, but I think A and D make sense because they call themselves within the function.
upvoted 0 times
...
Kimberlie
9 days ago
I agree with you, Novella. A and D seem to be recursive functions.
upvoted 0 times
...
Novella
10 days ago
I think options A and D are the correct ones.
upvoted 0 times
...
Afton
12 days ago
I'm not sure about option A, but I think option D is definitely a recursive function. It calculates factorial by calling itself with a smaller number.
upvoted 0 times
...
Ty
14 days ago
I agree with you, Lindsay. Option A uses recursion to count down, and option D calculates factorial recursively.
upvoted 0 times
...
Lindsay
16 days ago
I think options A and D are the working examples of recursive functions.
upvoted 0 times
...

Save Cancel