JavaScript Essentials → Functions & Scope
Higher-Order Functions
Type the code below
const processData = (data, transform) => {
return data.map(transform).filter(item => item !== null);
};Live metrics
WPM
0
Accuracy
100.0%
Time
0:00
Errors
0
Sign in to save your progress and appear on the leaderboard.