Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Node.js
0/50 solved · 0%
All lessons
lesson
code
Patterns · medium
31. Paged Aggregator
Combine arrays from multiple page results.
Write `aggregate(pages)` where each page is `{ data: [] }`.
Required in your answer:
flatMap
p.data
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function aggregate(pages) { // TODO }
Output appears here.
← 30. SemVer Comparer
32. Object Flattener →