Question · JavaScript and TypeScript course · Module 5: Advanced JavaScript
The reduce Method in Data Pipelines
Which array method is used for aggregation (e.g., summing) all elements of an array into a single value?
Answer options
- filter()
- map()
- reduce()
- forEach()
You can check the correct answer by solving this task in the CodeWorlds game.