Exam JavaScript-Developer-I Topic 2 Question 207 Discussion

Actual exam question for Salesforce's JavaScript-Developer-I exam
Question #: 207
Topic #: 2
A developer writes the code below to calculate the factorial of a given number function sum(number){ return number * sum(number-1);
}
sum(3);
what is the result of executing the code.

Suggested Answer: D Vote an answer

by Valentine at May 30, 2025, 01:13 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어