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 active = users .filter((user) => user.status === "active") .map((user) => ({ id: user.id, name: user.name })) .sort((a, b) => a.name.localeCompare(b.name));

Just start typing.Tabrestarts