Salesforce JavaScript-Developer-I Question Answer
Refer to the code below:
01 const myFunction = arr = > {
02 return arr.reduce((result, current) = > {
03 return result + current;
04 }, 10);
05 }
What is the output of this function when called with an empty array?
Salesforce JavaScript-Developer-I Summary
- Vendor: Salesforce
- Product: JavaScript-Developer-I
- Update on: Jul 6, 2026
- Questions: 147

