Coding task · JavaScript and TypeScript course · Module 12: Functional Programming

Advanced reduce - Data Aggregation

Use reduce for advanced sensor data aggregation.

Task

Group the data by zone, calculate statistics per sensor type, and count alerts.