Developer Academy

JavaScript

Drills [ ] { } => ,

Type it exactly as written, including indentation and line breaks. Press Enter at the end of each line.

0wpm
100% acc
0:00Time
const byId = records.reduce((acc, record) => { acc[record.id] = record; return acc; }, {});

Just start typing.Tabrestarts