Question: Which method accepts a function that combines all the elements in the array and then returns the resulting value? a. filter() b. reduce() c. map()
Which method accepts a function that combines all the elements in the array and then returns the resulting value?
| a. | filter() | |
| b. | reduce() | |
| c. | map() | |
| d. | forEach() |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
