← Back to Challenges
intermediate Time limit: 1:00

Search and Delete Lines

Use search and the dot command to delete all lines containing console.log.

Commands
/ddn.

Search and Delete Lines

Use search and the dot command to delete all lines containing console.log.

Time
0:00
/ 1:00
Editor0 keys
1let x = 1;
2console.log("debug x:", x);
3let y = 2;
4console.log("debug y:", y);
5let z = x + y;
6console.log("debug z:", z);
7return z;
-- NORMAL --search-delete-lines
Target
1let x = 1;
2let y = 2;
3let z = x + y;
4return z;
-- NORMAL --search-delete-lines
⚠ Guest mode — Sign in to save your progress and score